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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 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
Hoe can i connect the table into the c# application?
 Question Submitted By :: Siva
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hoe can i connect the table into the c# application?
Answer
# 1
by writing the connection string on the click event of the 
button. by connection string i mean it's the ado.net 
structure.firstly you have to include the namespace- using 
system.data.sqlclient;
now on the click event of the button( eg u have taken a 
sumbit button ) you will be writting- sqlconnenection con= 
new sqlconnection........then u'll use 
datacommand,dataset,string,databind,gridview.
u can also use read for getting the errors in a specified 
manner.for this u will be using try and the catch then your 
connection string code and then u'll use the finally 
function and then close().
 
Is This Answer Correct ?    0 Yes 1 No
Gaurav
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
About Virtual functions and their use ? MMTS8
What is the Difference between imperative and interrogative code? Wipro2
How to make a class non-inheritable other than sealed?  3
what is unit testing  2
What are nullable types? Is Nullable<int> I and int ?i are same. TCS2
How you will connect to windows directory in c#? HP2
Y go for Interface? What is use of interface?  3
What?s the top .NET class that everything is derived from?  4
How?s method overriding different from overloading?  2
What are iterators? TCS4
What is early binding and late binding TATA5
What?s an abstract class?  4
How can you sort the elements of the array in descending order? Junosource1
Is array reference type / value type ? Accenture1
What is use of super class NIIT1
How u call destructor and dispose methode in c#.NET  1
Can you declare the override method static while the original method is non-static? Mind-Tree2
Difference between imperative and interrogative code? Wipro1
How many catch blocks can be there for a single try block? HCL2
Does C# supports multi-dimensional arrays ? Microsoft4
 
For more C Sharp 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