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
Answer / vinita tanwar
To populate the DataAdapter the first time the web page
id displayed.
Is This Answer Correct ? | 1 Yes | 5 No |
How does Garbage collector(GC) works in .net
14 Answers Accenture, HCL, Kekran Mekran, People Tech, Wipro,
What are the 3 types of web?
Code for updating the database by entering the data into textboxes in aspx form?
Who creates jsessionid?
What is a postback in asp net?
Do ASP.NET forms authentication cookies provide any protection against replay attacks? Do they, for example, include the client's IP address or anything else that would distinguish the real client from an attacker?
What are the layouts of ASP.NET Pages?
What data types do the RangeValidator control support?
I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?
7 Answers eMids, Infotech, Integra, TCS, Wipro,
What's the use of response.output.write()?
If(dropdownlist1.selectedIndexChanged==true) { //code } else { //code } I am getting error in If condition, so can u pls give me a solution.
What do you understand by aggregate dependency?