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 do we need a web application session?
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
Explain in what order a destructors is called.
Why do we use sessions?
Is oauth for authentication or authorization?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
How you can add an event handler?
What is view state and how it works in asp net?
Explain the difference between array and linkedlist?
What is the advantage of mvc over asp.net? : Asp.Net MVC
what is a .xap file? Explain with an example.
Can I stream live content/events?
What does mvc represent in asp.net? : asp.net mvc
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
Where code pages are used?