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 difference between web config and machine config files?
What is application and session in asp.net?
How do you implement postback with a text box?
I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.
What is difference between mvc and asp.net? : Asp.Net MVC
List down the sequence of methods called during the page load.
Explain exception handling in .net.
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
Can you explain composite pattern?
What is loop in asp.net?
Why would anyone need to implement their own hashtable or linked list?
Explain the asp.net mvc folder conventions? : asp.net mvc
Is there any alternative to avoid name collisions other then Namespaces?
How does the iis work?
How do you remove duplicates without using remove duplicate stage?