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

What base class do all Web Forms inherit from?
What base class do all Web Forms inherit from? System.Web.UI.Page
2014-01-30, 1942👍, 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, 1941👍, 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, 1941👍, 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, 1940👍, 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, 1940👍, 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, 1938👍, 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, 1937👍, 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, 1937👍, 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, 1937👍, 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, 1937👍, 0💬

What is the difference between these initializations? ....
What is the difference between these initializations? char a[] = "string literal"; char *p = "string literal"; My program crashes if I try to assign a new value to p[i]. A string literal (the formal term for a double-quoted string in C source) can be used in two slightly different ways: 1. As the in...
2016-03-09, 1936👍, 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, 1936👍, 0💬

Should validation (did the user enter a real date) occur server-side or client-side? Why?
Should validation (did the user enter a real date) occur server-side or client-side? Why? Client-side validation because there is no need to request a server side date when you could obtain a date from the client machine.
2014-01-16, 1936👍, 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, 1936👍, 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, 1935👍, 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, 1933👍, 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, 1933👍, 0💬

What’s a bubbled event?
What’s a bubbled event? When you have a complex control, likeDataGrid, writing an event processing routine for each object (cell, button,row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of itsconstituents.
2014-03-06, 1932👍, 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, 1932👍, 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, 1931👍, 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, 1930👍, 0💬

Which template must you provide, in order to display data in a Repeater control?
Which template must you provide, in order to display data in a Repeater control? ItemTemplate
2014-01-28, 1930👍, 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, 1929👍, 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, 1929👍, 0💬

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