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
Any disadvantages in Dataset and in reflection ?
What is a uri query?
What is full form of asp.net?
What is cookies in asp net?
What is __ requestverificationtoken?
Explain difference betn dataset and recordset?
Which of the following .NET framework supports Web API?
What is the usie of activex control in .net?
What is asp.net and ado net?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
Explain what are webservices?
What is advantage of code behind coding in ASP.NET?
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
If 200 is for all successful operation then why do we have 201 response codes?
How do you do client-side validation in .net? How to disable validator control by client side javascript?