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 side by side Execution ? MMTS 3
How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?   1
What is different between User Control and Web Control and Custom Control?   2
What is "out" parameter how it is used in methods? Polaris 6
What is the main difference between VS 2005 and VS 2003? CTS 5
What is JIT and how is works ?   10
What is CLR and how it generates native code ? Digital-GlobalSoft 1
Does the .NET Framework have in-built support for serialization?   1
How the framework differentiate between 2 version dlls? eg Version 2.0 and 2.1 dlls are there. both are referred in the code.but we are using only name of that dll not the version number. in run time how the framework know which dll has to be referred? Deloitte 1
In which testing using in .net framwork?   2
Hello frnds, Actually i am plannig to put fake Xperince letter is it good or not, and please suggest me from where we take it.   1
what is .net? IBM 20
 
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