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
What is the use of asp.net web api?
What are cao and sao.
What are Caching techniques in .NET
Explain the advantages of asp.net.
Define view state.
Explain what is postback in asp. Net?
What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC
What are the contents of cookie?
Define viewstate in .net?
What is the concepts of globalization and localization in .net?
Demonstrate Render and PreRender?
What is the maximum amount of memory any single process on windows can address?
Difference between using directive vs using statement?
List of words of preprocessor in .net?
Explain the purpose of storyboard.targetproperty.