How to Insert a TextBox value in to Sql database using
C#.Net coding
Answers were Sorted based on User's Feedback
Answer / jayatirtha joshi
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 |
What is entity client data provider? : Entity framework
How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
What does assert() method do?
1 Answers MCN Solutions, Siebel Systems,
Explain Bundle.Config in ASP.Net MVC4?
What filters are executed in the end?
What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net?
I have a GridView on web form, and a column in a grid is a linkbutton to open popup..., my problem is when i click on link button in a gridview popup opens as well works fine. but when i click on link button once again my popup window doesnt open. Can any one help please...
What’s the advantage of using System.Text.StringBuilder over System.String?
Will there be a .net compact framework 3.0 release with release of .net framework 3.0?
sql related question (outer join, left, right etc) array vs hashtable CRL sqldatareader vs dataset what is WPF, WCF, compare to WinForms Webservices Asp.net MVC vs WebForms?
Explain the advantages of asp.net mvc over asp.net?