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
What is the life cycle of web page?
How to manage different kinds of sessions in ASP.NET?
What is meant by web application?
What is webresource axd?
What is the asp.net mvc folder conventions? : asp.net mvc
In a Repeater control how one can provide an alternating color scheme ?
What is the difference between Session and response.Redirect?
Define a static class?
What role “#&&” plays in a querysting?
How to send a DataReader as a parameter to a remote client ?
Explain the main function of url routing system in asp.net mvc? : asp.net mvc
Define the term Scavenging in Caching?
Define xmlvalidatingreader class.
How do cookies work? Give an example of their abuse.
what are configuration files?