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
Why is string called immutable data type?
Explain the server control events of asp.net ?
What are the types of session in asp.net?
When maintaining session through sql server, what is the impact of read and write operation on session objects?
How do you open a page in a new window?
How to improve performance of web application asp.net mvc? : Asp.Net MVC
What is the significance of ASP.NET routing?
What is state management in .net?
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
What are the Types of session management in ASP.NET
What does postback mean?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
What is the difference between ASP Session State and ASP.Net Session State?
What are html helpers in asp.net?