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  >>  ADO.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
how do  u connect ado.net to sql server
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how do u connect ado.net to sql server
Answer
# 1
The ADO.NET application is connected with the SQL Server by 
the use of the object SQLConnection class defined in the 
System.Data.SQLClient. This SQLConnection takes the 
Connection String as parameter.
 
Is This Answer Correct ?    4 Yes 0 No
Vaidyanathan R.
 

 
 
 
Other ADO.NET Interview Questions
 
  Question Asked @ Answers
 
What is the provider and namespaces being used to access oracle database? Microsoft2
What are the different namespaces used in the project to connect the database?  3
How To Update A Column In A DataGrid Using C#.NET? I am getting InvalidCastException as (Specified cast is not valid) while updating 2nd column in a datagrid? Id,firstname,lastname are the three columns of my datagrid respectively. I wanted to edit the second column(lastname) and update it. I did the following code in DataGrid's updatecommand(),but failed to update ! Int varid=(int)DataGrid1.DataKeys[e.Item.ItemIndex]; TextBox lnm=(TextBox)e.Item.Cells[2].Controls[0]; string str=lnm.Text ; SqlCommand cmd=new SqlCommand("update customer set lastname='" + str + "' where id=" + varid + "",con); cmd.ExecuteNonQuery(); DataGrid1.EditItemIndex=- 1; DataGrid1.DataBind(); Mind-Tree2
Sequence to connect and retrieve data from database useig dataset ? MMTS3
What is @@rowcount and with small code snippet explain the usage? BirlaSoft4
what is the syntax code for oldb to connect oracle?  1
Difference between datareader and dataset? Microsoft12
If i am expecting a single result from sqlserverdatabase then what command should i follow ?sqlcommand.executereader (commandbehaviour.singleresult)or sqlcommand.executescalar()  4
What is main five diffrent between Connected And Disconnected environment Wipro4
What does connection string consists of ? Digital-GlobalSoft1
what is clustered index?why is it created? Microsoft3
ADO and ADO.NET differences? Microsoft3
What is Pooling? what is data pooling? what is sql pooling? TCS1
I am fresh graduate, trained in C# .net. How do i answer when interview ask me , Where do you see yourself within 5 years from now?  2
what is execute scalar? Protech6
What happens when u try to update data in a dataset in .NET while the record is already deleted in SQL SERVER as backend?  5
Why DataReader is Forward Only? NIIT9
Differnces between oracle 9i and sql server? Microsoft2
how to display empty table to datagrid LG-Soft1
how to add a selected row of a gridview to another gridview without reloading the page??  1
 
For more ADO.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