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 is serialization in .NET? What are the ways to control serialization?   2
What are the different authentication modes in the .NET environment?   2
I couldnot answer for projects bcz i have 2+ fake experience.can you please tell me how to answer..? Ibm 1
If we not suppress finalize method in dispose what will happen? Kanbay 2
How do you sort a dataset?   2
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?   1
What is different between User Control and Web Control and Custom Control?   2
If background completes its processing will it wait for foreground threads? Kanbay 2
what is MetadData?. What is CTS? Type of Join in SQL Server? What is diffrence between Primary Key and Unique Key? FutureSoft 7
I'm anfinal yr. engg. student with knowledge of .net. I want to refurnish my knowledge for interview purpose. Which institute is good....I am confused among Peers, Naresh it, Deccansoft...Plz help me to select the right institute.....   9
What is the use of trace utility ?   2
What is JIT and how is works ?   10
 
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