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.
Answers were Sorted based on User's Feedback
Answer / vinita tanwar
To populate the DataAdapter the first time the web page
id displayed.
Is This Answer Correct ? | 1 Yes | 5 No |
What are the benefits of Razor View?
What is difference between user control and custom control?
What are the built-in objects in asp.net?
How can we Validate a Controls in ASP.NET page using JavaScript?
What is AutoEventWireup attribute for ?
If I update session state, should I lock it, too? Are concurrent accesses by multiple requests executing on multiple threads a concern with session state?
Types of values mode can hold session state in web.config ?
1 Answers Accenture, Parrot Systems,
Will session work if cookies is disabled?
What is the difference between ASP and ASP.NET?
4 Answers Sans Pareil IT Services, TCS,
Write a code for passing ArrayList in Web API?
what is NET Framework ?
How do you handle server controls?