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
How Session outproc in Sqlserver stored?
What are sql joins?
Do session use cookies in asp net?
What is the difference between viewstate and hidden field in asp.net?
What is the difference between GridView and Repeater controls in ASP.NET?
What is http pipeline in asp.net?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Explain the basic functionality of garbage collector?
What is difference between session and cookie?
How do I create a web form?
What is directive in asp net?
What is the difference between asp.net and mvc?
How to display Alert in ASP.NET
Define satellite assemblies.
How can you send an email message from an asp.net web page?