<< < 152 153 154 155 156 157 158 159 160 161 162 > >>   Sort: Date

Can you explain what inheritance is and an example of when you might use it?
Can you explain what inheritance is and an example of when you might use it? Inheritance is a fundamental feature of an object oriented system and it is simply the ability to inherit data and functionality from a parent object. Rather than developing new objects from scratch, new code can be based o...
2014-01-22, 1912👍, 0💬

What is OLAP?
What is OLAP? OLAP is an acronym for On Line Analytical Processing. It is an approach to quickly provide the answer to analytical queries that are dimensional in nature.
2014-10-29, 1911👍, 0💬

I am constantly writing the drawing procedures with System.Drawing.Graphics, but having to use the try and dispose blocks is to
I am constantly writing the drawing procedures with System.Drawing.Graphics, but having to use the try and dispose blocks is too time-consuming with Graphics objects. Can I automate this? Yes, the code System.Drawing.Graphics canvas = new System.Drawing.Graphics(); try { //some code } finally canvas...
2013-11-20, 1910👍, 0💬

The Equivalent Html Control for the &lt;select> tag is ...
The Equivalent Html Control for the &lt;select> tag is ... The Equivalent Html Control for the &lt;select> tag is * &lt;HtmlSelectInput> * &lt;HtmlSelect> * &lt;HtmlInputSelect> * &lt;HtmlSelectControl> &lt;HtmlSelect>
2014-06-25, 1908👍, 0💬

What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state? Web pages are recreated each time the page is posted to the server. In traditional Web programming, this would ordinarily mean that all information associated with the page and the controls ...
2014-02-12, 1907👍, 0💬

How do you validate the controls in an ASP .NET page?
How do you validate the controls in an ASP .NET page? Using special validation controls that are meant for this. We have Range Validator, Email Validator.
2014-01-13, 1907👍, 0💬

How do you get records number from 5 to 15 in a dataset of 100 records? Write code.
How do you get records number from 5 to 15 in a dataset of 100 records? Write code. Answer1 DataSet ds1=new DataSet(); String strCon=”data source=IBM-6BC8A0DACEF;initial catalog=pubs;integrated security=SSPI;persist” +” security info=False;user id=sa;workstation id=IBM-6BC8A0DACEF;packet s...
2014-09-11, 1905👍, 0💬

What is a formatter?
What is a formatter? A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end.
2013-11-13, 1905👍, 0💬

People seem to make a point of distinguishing between ...
People seem to make a point of distinguishing between implementation-defined, unspecified, and undefined behavior. What do these mean? First of all, all three of these represent areas in which the C Standard does not specify exactly what a particular construct, or a program which uses it, must do. T...
2015-11-23, 1904👍, 0💬

What is the comment syntax for C#’s XML-based documentation?
What is the comment syntax for C#’s XML-based documentation? What is the comment syntax for C#’s XML-based documentation? * /** and **/ * //# * /// * //* ///
2014-08-04, 1904👍, 0💬

What is the difference between a Local temporary table and a Global temporary table? How is each one used?
What is the difference between a Local temporary table and a Global temporary table? How is each one used? Answer1: Local templrary table will have a single # (#tablename) appended with the table name.Global templrary table will have Double # (##tablename) appended with the table name. Ex:create tab...
2014-10-15, 1903👍, 0💬

Which method do you invoke on the DataAdapter control to load your generated dataset with data?
Which method do you invoke on the DataAdapter control to load your generated dataset with data? System.Data.Common.DataAdapter .Fill(System.Data.DataSet);If my DataAdapter is sqlDataAdapter and my DataSet is dsUsers then it is called this way: sqlDataAdapter.Fill(dsUsers);
2014-01-28, 1903👍, 0💬

What is view state?
What is view state? The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control
2014-01-13, 1902👍, 0💬

How many types of exception handlers are there in .NET?
How many types of exception handlers are there in .NET? Answer 1: From MSDN&gt;gt; “How the Runtime Manages Exceptions” http://msdn.microsoft.com/libr ary/default.asp?url=/library/en-us/cpguide/htm l/cpconexceptionsoverview.aspThe exception information table represents four types of except...
2013-12-16, 1902👍, 0💬

Difference between Panel and GroupBox classes?
Difference between Panel and GroupBox classes? Answer 1: Panel and Group box both can used as container for other controls like radio buttons and check box. the difference in panel and group box are Panel 1) In case of panel captions cannot be displayed 2) Can have scroll bars. Group box 1) Captions...
2013-12-11, 1901👍, 0💬

What is the difference between Server.Transfer and Response.Redirect?
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other? Server.Transfer() : client is shown as it is on the requesting page only, but the all the content is of the requested page. Data can be persist accros the pages using Context.Item collection,...
2014-01-17, 1900👍, 0💬

Explain differences between framework 1.0 and framework 1.1
Explain differences between framework 1.0 and framework 1.1 1. Native Support for Developing Mobile Web Applications 2. Unified Programming Model for Smart Client Application Development 3. Enable Code Access Security for ASP.NET Applications 4. Native Support for Communicating with ODBC and Oracle ...
2014-11-07, 1898👍, 0💬

Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component? When to Use Web Services: * Communicating through a Firewall When building a distributed application with 100s/1000s of users spread over multiple locations, there is always the ...
2014-01-20, 1898👍, 0💬

Explain similarities and differences between Java and.NET?
Explain similarities and differences between Java and.NET? Comparing Java and .NET is comparing apples and oranges. Either the question needs to be to compare Java and C# or J2EE and .NET.
2014-09-22, 1897👍, 0💬

What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?
What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services? Remoting is a more efficient communication exchange when you can control both ends of the application involved in the communication process. Web Services provide an open-protocol-based exchange of informaion. Web Se...
2013-11-11, 1897👍, 0💬

What is the base class of .NET?
What is the base class of .NET? Base class provides a base set of methods that all derived classes can use
2013-12-09, 1896👍, 0💬

What security measures exist for .NET Remoting in System.Runtime.Remoting?
What security measures exist for .NET Remoting in System.Runtime.Remoting? None. Security should be taken care of at the application level. Cryptography and other security techniques can be applied at application or server level.
2013-11-13, 1895👍, 0💬

How to manage pagination in a page?
How to manage pagination in a page? Using pagination option in DataGrid control. We have to set the number of records for a page, then it takes care of pagination by itself.
2014-01-14, 1892👍, 0💬

What’s a Windows process?
What’s a Windows process? It’s an application that’s running and had been allocated memory.
2013-11-07, 1892👍, 0💬

<< < 152 153 154 155 156 157 158 159 160 161 162 > >>   Sort: Date