<< < 31 32 33 34 35 36 37 38 39 40 41 > >>   Sort: Date

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, 1935👍, 0💬

What is the difference between VB 6 and VB.NET?
What is the difference between VB 6 and VB.NET? Answer1 VB 1,Object-based Language 2,Doesnot support Threading 3,Not powerful Exception handling mechanism 4,Doesnot having support for the console based applications 5,Cannot use more than one version of com objects in vb application called DLL error ...
2013-11-26, 1935👍, 0💬

What is ADO .NET and what is difference between ADO and ADO.NET?
What is ADO .NET and what is difference between ADO and ADO.NET? ADO.NET is stateless mechanism. I can treat the ADO.Net as a separate in-memory database where in I can use relationships between the tables and select insert and updates to the database. I can update the actual database as a batch.
2014-01-15, 1934👍, 0💬

How many languages .NET is supporting now?
How many languages .NET is supporting now? When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. 44 languages are supported.
2014-01-09, 1934👍, 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, 1934👍, 0💬

Which control would you use if you needed to make sure the values in two different controls matched?
Which control would you use if you needed to make sure the values in two different controls matched? Use the CompareValidator control to compare the values of 2 different controls.
2014-02-10, 1933👍, 0💬

What method(s) must be used with the Application object to ensure that only one process accesses a variable at a time?
What method(s) must be used with the Application object to ensure that only one process accesses a variable at a time? What method(s) must be used with the Application object to ensure that only one process accesses a variable at a time? * Synchronize() * Lock() and UnLock() * Lock() * Asynchroize()...
2014-08-11, 1932👍, 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, 1930👍, 0💬

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, 1930👍, 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, 1930👍, 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, 1929👍, 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, 1929👍, 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, 1929👍, 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, 1928👍, 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, 1928👍, 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, 1927👍, 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, 1926👍, 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, 1925👍, 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, 1925👍, 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, 1924👍, 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, 1924👍, 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, 1924👍, 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, 1922👍, 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, 1921👍, 0💬

<< < 31 32 33 34 35 36 37 38 39 40 41 > >>   Sort: Date