How to Insert a TextBox value in to Sql database using
C#.Net coding
Answer Posted / 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 |
Post New Answer View All Answers
What is the domain object?
How we can multiple submit buttons in ASP.Net MVC
How does �side by side� work for the .net framework 3.0?
What is Area in ASP.Net MVC?
Is razor a server side?
what is entity graph in entity framework?
What is renderbody?
Is .net framework backwards compatible?
If I have multiple filters implemented, what is the order in which these filters get executed?
What is ado.net data provider? : Entity framework
What is the full form of sp?
explain how you can load related entities in ef (entity framework)?
What is the 'page life cycle' of an ASP.NET MVC?
What is the version number for the next version of the .net framework, codenamed �orcas�?
what is eager loading?