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 does ASP.NET framework maps client side events to Server side events.?
What is viewstate parameter?
How to create multi language website in asp.net mvc? : Asp.Net MVC
In the Repeater control which way you can edit?
Write the different features of a Thread and a Process?
What is break mode?
Which adapter should you use, if you want to get the data from an access database?
What is another word for redirect?
How do u declare static variable and how it is declared and what is its lifetime?
Is asp.net a programming language or framework?
What is server infrastructure?
How do session tokens work?
Explain MVC model binders?
How does session authentication work?
What are the different types of validation controls provided in ASP.NET?