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 are the event handlers that can be included in the Global.asax file?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
What is an axd file?
What are the components of ado.net?
What is the file through which you can customize your asp.net application?
Which protocol is used to call web service?
Explain the difference between Repeater and Data list control in ASP.NET?
How can u deifne the benefits and limitation of using Viewstate for state management?
What is the difference between file-based dependency and key-based dependency?
What is data reader in asp.net?
In Code-Behind class which kind of code (server or client) is found ?
Is it possible to create web application with both webforms and mvc?
Where is cookie used in asp.net?
Why viewstate is used in asp.net?
Which method do you use to enforce garbage collection in .net?