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 |
Why do I get errors when I try to serialize a Hashtable
Diffence between .net framework 1.0 and 2.0?
How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?
How we can invoke child actions in ASP.Net MVC?
What operating systems will the .net framework 3.0 be available for?
What is Value type and reference type in .Net
Why string are called Immutable data Type
explain lazy loading, eager loading, and explicit loading?
What is tracing?Where it used.Explain few methods available
What are Validation Annotations?
VIEWS WITH SYNTAX AND EXAMPLE IN SQL
what is datacontrols?