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
How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?
how can you enhance the performance of entity framework?
what is client wins and store wins mode in entity framework concurrency?
Can you explain renderbody and renderpage in mvc?
i have done enough testing in life but now stated developing intereset in development work,Can i think of entering into development work that too in >Net after more then 4 years of testing experiece?
What is a view engine?
Mention what is the difference between “ActionResult” and “ViewResult” ?
Which is the root namespace for fundamental types in .net framework?
What is difference between html.beginform and ajax.beginform?
In razor syntax, what is the escape sequence character for @ symbol?
What is action methods in web api?
Explain RenderBody and RenderPage in ASP.Net MVC?
What is clr? How does work clr & wht is work of clr?
What is controllercontext?
Explain the difference between Viewbag and Viewdata in ASP.NET MVC?