How to Insert a TextBox value in to Sql database using
C#.Net coding
Answer Posted / abcd
sqlcommand cmd=new sqlcommand("insert into dept values
('"+txtbox1.text+"'),con");
cmd.executenonquerry();
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
what is way of loading data in ef (entity framework)?
Can I set the unlimited length for "maxjsonlength" property in config?
how do you truncate a table using entity data model?
What is the advantage of mvc?
Which filter executes first in an asp.net mvc application?
Why we need a separate mobile project template, while we can render our web application in mobile ?
What is route config?
What are the major improvements provided by the common language runtime and the base class libraries? Or what are the major improvements in .net framework 4.0?
How do I use partial view?
Explain Keep method in Tempdata in ASP.Net MVC?
How to update one of my table in database at 4pm every day how it is possible?
What is entity framework in asp net?
what is entity sql?
What is renderbody?
What symbol would you use to denote, the start of a code block in razor views?