ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Microsoft Related >> Dot Net >> Dot Net Framework
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions (204)
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions (75)
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions (83)
 Dot Net General interview questions  Dot Net General Interview Questions (321)
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions (178)
Question
How to Insert a TextBox value in to Sql database using
C#.Net coding
 Question Submitted By :: Dot-Net-Framework
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
assign the textbox valuu to a string than using sqlcommand
in c# writing insert querry . insert the value into the
database.
ex; sqlcommand cmd=new sqlcommand("insert into emp values
('"+textbox1.text+"'),con");
cmd.executenonquerry();
 
Is This Answer Correct ?    24 Yes 3 No
Jayatirtha Joshi
 
Answer
# 2
sqlcommand cmd=new sqlcommand("insert into dept values
('"+txtbox1.text+"'),con");
cmd.executenonquerry();
 
Is This Answer Correct ?    6 Yes 1 No
Abcd
 
 
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
what happened when type url in address bar and press enter? Wipro 5
How would you make a combo-box appear in one column of a DataGrid?   1
what is .net? IBM 20
unit test done by tetser on development team? Crea 3
Is any files are generated,when we are adding the web reference to the web service?   1
Where does web.config info stored? Will this be stored in the registry ? Accenture 1
If background completes its processing will it wait for foreground threads? Kanbay 2
How does assembly versioning work?   1
Which is the base class for .net Class library? Sonata 12
What are the contents of assembly?   2
Which is the best institute for .net?   15
what is VSS? Where we are using? TCS 3
 
For more Dot Net Framework Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com