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 |
How to rename a table using sql queries?
What does clearing cache?
What is the use of response redirect in asp.net?
What methods are fired during the page load?
7 Answers InSync Tech-Fin, Siebel Systems, Visual Soft,
How do you secure your configuration files to be accessed remotely by unauthorized users?
Difference between abstract class and interface
Where the viewstate is stored after the page postback?
How do active server pages work?
How does the XmlSerializer work? What ACL permissions does a process using it require?
What is customer control and user control?
How many types of Cookies are available in ASP.NET?
How would you get asp.net running in apache web servers? Explain it's limitations.