What is datagrid?

The DataGrid Web server control is a powerful tool for displaying information from a data source. It is easy to use; you can display editable data in a professional-looking grid by setting only a few properties. At the same time, the grid has a sophisticated object model that provides you with great flexibility in how you display the data.

What is AutoPostback?

AutoPostBack automatically posts the page back to the server when state of the control is changed.

How does ASP.NET work with the client and server machines?

ASP.NET uses client-side code to send messages back to the server Thus the server can be aware of what’s happening on the client.

What is the difference between user and server controls?

User controls are created by the developer to allow for the reuse of controls that need specific functionality, while the Server controls are built-in.

Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

AsyncPostBackTimeout Property needs to set which gets or sets a value that indicates the time, in seconds, before asynchronous postback time out if no response is received from the server.

<asp:scriptmanager id=”scriptManager1″ runat=”server” asyncpostbackerrormessage=”We can not serve your request at this moment.Please try later.” asyncpostbacktimeout=”36000″></asp:scriptmanager>

The default value of this property is 90 second. We can also set the user defined error message using asyncpostbackerrormessage property (as shown in above code) for time out.

Explain about the readystate Property.

Readystate property holds the response of the server to the query generated from the client side. Each time the readystate property changes onreadystatechange function will be executed. Some of the values for the readystate property are as follows if the status is zero the request is not initialized, 1 the request has been set up, 2 the request has been sent, 3 the request is in process, 4 the request is complete.

What does connection string consist of?

The connection string consists of the following parts:
In general:

Server: Whether local or remote.

Uid: User Id (sa-in sql server)

Password: The required password to be filled-in here

Database: The database name.