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 / swapna

To populate the DataSet the first time the web page is
displayed. i.e Instance is created first time with this.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the life cycle of web page?

614


How to manage different kinds of sessions in ASP.NET?

650


What is meant by web application?

628


What is webresource axd?

546


What is the asp.net mvc folder conventions? : asp.net mvc

542






In a Repeater control how one can provide an alternating color scheme ?

658


What is the difference between Session and response.Redirect?

693


Define a static class?

624


What role “#&&” plays in a querysting?

642


How to send a DataReader as a parameter to a remote client ?

2833


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

582


Define the term Scavenging in Caching?

663


Define xmlvalidatingreader class.

647


How do cookies work? Give an example of their abuse.

621


what are configuration files?

637