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 |
If u have an Empty Xml file and u have to bind dataset data to empty xml file? if u have an empty dataset u have to bind xml file data to it?
What is conceptual model? : Entity framework
what is .edmx file and what it contains?
Why do I get errors when I try to serialize a Hashtable
What is filters in web api?
What is namespace of asp.net mvc?
What is the difference between STA and MTA?
What is strong name and which tool is used for this ?
4 Answers Accenture, BirlaSoft,
What are Validation Annotations?
Explain .net Framework?
Can we create .DLL file without using the namespace?
mention what is csdl, ssdl and msl sections in an edmx file?