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

What methods are fired during the page load?
What methods are fired during the page load? Init() - when the pageis instantiated, Load() - when the page is loaded into server memory,PreRender() - the brief moment before the page is displayed to the user asHTML, Unload() - when page finishes loading.
2014-03-04, 1552👍, 0💬

Difference between Class And Interface
Difference between Class And Interface Class is logical representation of object. It is collection of data and related sub procedures with defination. Interface is also a class containg methods which is not having any definations. Class does not support multiple inheritance. But interface can suppor...
2013-12-04, 1552👍, 0💬

What is the output for the following code snippet:..
What is the output for the following code snippet:.. What is the output for the following code snippet: public class testClass { public static void Main(string[] args) { System.Console.WriteLine(args[ 1]);}//end Main }//end class testClass * Compiler Error * Runtime Error * Hello C# world * None of ...
2014-08-25, 1548👍, 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, 1548👍, 0💬

How do you create a permanent cookie?
How do you create a permanent cookie? Setting the Expires property to MinValue means that the Cookie never expires.
2014-02-04, 1546👍, 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, 1545👍, 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, 1545👍, 0💬

What should one do to make class serializable?
What should one do to make class serializable? Answers1: To make a class serializable is to mark it with the Serializable attribute as follows. [Serializable] public class MyObject { public int n1 = 0; public int n2 = 0; public String str = null; }
2013-12-26, 1544👍, 0💬

Which command using Query Analyzer will give you the version of SQL Server and Operating System?
Which command using Query Analyzer will give you the version of SQL Server and Operating System? @@VERSION Returns version, processor architecture, build date, and operating system for the current installation of SQL Server.
2014-10-06, 1542👍, 0💬

What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it?
What class does Icon derive from? Isn’t it just a Bitmap with a wrapper name around it? No, Icon lives in System.Drawing namespace. It’s not a Bitmap by default, and is treated separately by .NET. However, you can use ToBitmap method to get a valid Bitmap object from a valid Icon object.
2013-11-22, 1541👍, 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, 1540👍, 0💬

Name some of the languages .NET support?
Name some of the languages .NET support? Some of the languages that are supported by .NET 1. Visual Basic.NET 2. Visual C# 3. Visual C++
2013-12-10, 1540👍, 0💬

What is namespaces?
What is namespaces? It is a logical group of related classes and interfaces and that can be used byany language targeting the .net framework.
2013-12-06, 1540👍, 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, 1539👍, 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, 1538👍, 0💬

What are the different types of replication? How are they used?
What are the different types of replication? How are they used? Replication is used for distributing data and the execution of stored procedures across an enterprise. The replication technology allows you to make duplicate copies of your data, move those copies to different locations, and synchroniz...
2014-11-17, 1535👍, 0💬

The method that need to be invoked on the DataAdapter control to load the generated dataset with data is
The method that need to be invoked on the DataAdapter control to load the generated dataset with data is The method that need to be invoked on the DataAdapter control to load the generated dataset with data is * Bind() * Fill() * FillData() * SetData() Fill()
2014-07-24, 1535👍, 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, 1533👍, 0💬

Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines? The Application_Start event is guaranteed to occur only once throughout the lifetime of the application. It’s a good place to initialize global variables. For example, you might w...
2014-01-21, 1531👍, 0💬

When we go for html server controls and when we go for web server controls?
When we go for html server controls and when we go for web server controls? Server controls are a part of ASP.net. When a server control is used there will be an extra overhead on the server to create the control at runtime and accordingly set the values. HTML controls are static controls and are ea...
2014-01-07, 1531👍, 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, 1531👍, 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, 1528👍, 0💬

What is indexing?
What is indexing? If we give proper indexes on a table so that any queries written against this table can run efficiently. As your data sets grow over time, SQL Server will continue to rebuild indexes and move data around as efficiently as possible. This property is known as Indexing.
2014-10-22, 1527👍, 0💬

How does the lifecycle of Windows services differ from Standard EXE?
How does the lifecycle of Windows services differ from Standard EXE? Windows services lifecycle is managed by “Service Control Manager” which is responsible for starting and stopping the service and the applications do not have a user interface or produce any visual output, but “Standard e...
2014-02-28, 1525👍, 0💬

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