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
What is a SESSION and APPLICATION object?
Why is asp.net so popular?
How does output caching work in ASP.NET?
Can you change a master page dynamically at runtime? How?
Why is global asax is used?
What is advantage of code behind coding in ASP.NET?
What is enableviewstatemac in asp net?
Is asp.net a language?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
Is asp.net a programming language?
Why is this service branded with windows livetm?
How many languages are supported by .NET at present time?
How can we make sure that Web API returns JSON data only?
What is the viewstate in asp.net?
What is the difference between dynamic SGA and static SGA?