What is the purpose of the following segment?
If ( !IsPostBack)
{
sqldataAdapter1.Fill (dsusers1);
DataGrid1.DataBind ();
}
a) To populate the DataAdapter the first time the web page
id displayed.
b) To populate the DataSet every time the web page is displayed.
c) To populate the DataAdapter every time the web page is
displayed.
d)To populate the DataSet the first time the web page is
displayed.

Answer Posted / vinita tanwar

To populate the DataAdapter the first time the web page
id displayed.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of caching in asp.net?

556


Define data caching?

547


What is asp according to you?

530


Explain how do you deploy your asp.net application?

484


Explain method to handle error using HttpError in Web API?

585






How may clustered index we can create in table?

567


Where code pages are used?

694


How ViewstateMac works?

2366


What is autopostback in dropdownlist in asp net?

535


What types of data validation events are commonly seen in the client-side form validation?

566


How does http session work?

523


What is the use of view state?

536


What is full trust in asp.net?

549


How can we inherit a static member?

597


A Web Service Can Only Be Written In .net. Is it True??

643