ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
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.
 Question Submitted By :: Meenu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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 ?    3 Yes 1 No
Swapna
 
  Re: 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
# 2
To populate the DataAdapter the first time the web page
id displayed.
 
Is This Answer Correct ?    1 Yes 2 No
Vinita Tanwar
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To connect to a DB/2 database. c) To connect to an Access database. d) To connect to an SQL 6.5 database. Syntax-Softtech5
What is Boxing and Unboxing? Accenture6
Explain what a diffgram is, and a good use for one?  1
What is machine.config and web.config ? Digital-GlobalSoft4
Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version TCS2
How do you relate an aspx page with its code behind Page? Accenture1
What is the lifespan for items stored in ViewState? ISST2
web user and custom conrols  1
Describe the difference between inline and code behind?  2
what is the differance between native code & managed code?  5
Can we throw exception from catch block ? Accenture3
About the Usage of htmlencode and urlencode ? Cognizent2
I am having four text boxes in my web application. I am setting Required Field validator to each Text box. And I am having two buttons in my application. If i clicked the first button only first two text box validation will get fire. Dont show error message for remaining two text box. If i clicked second button last two text box validation will get fired. It will not consider the first two validation controls. That is how to enable and disable the validation controls.  4
What does the "EnableViewState" property do? Why would I want it on or off?  4
What is the difference between ASP and ASP.NET? TCS4
How many web.copnfig can exists in a web application & which will be used ? MMTS3
What is strong name and which tool is used for this? Accenture3
Types of configuration files and their differences ? Accenture1
What is the use of directives & explain with example? C-Squared-Systems2
code for inserting images into gridview colomns from database HP3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com