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.

Answers were Sorted based on User's Feedback



What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsuser..

Answer / 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

What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsuser..

Answer / vinita tanwar

To populate the DataAdapter the first time the web page
id displayed.

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

How to improve performance of web application asp.net mvc? : Asp.Net MVC

0 Answers  


A web service can only be written in .net? State whether true or false.

0 Answers  


How does asp.net page work?

0 Answers  


Why do we use web config?

0 Answers  


What are the Types of objects in ASP

0 Answers   Microsoft,






Who generates session id?

0 Answers  


What permissions do asp.net applications posses by default?

0 Answers  


In which module you have worked in your .net project explain?

1 Answers   TechSolution,


How to store a dataset in a viewstate?

3 Answers   IBM,


What is autopostback in dropdownlist in asp net?

0 Answers  


What are the new navigation controls in asp.net 2.0?

0 Answers  


Name two properties common in every validation control?

1 Answers  


Categories