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 |
How do assemblies find each other?
What is edm designer? : Entity framework
What platforms does the .NET Framework run on?
Which version of the common language runtime (clr) does the .net framework 3.0 use?
Httpcontext objects?
What is the difference between entity framework and mvc?
Explain linq to entities? : Entity framework
Can we add constraints to the route? If yes, explain how we can do it?
Give an example for authorization filters in an asp.net mvc application?
How the ‘page lifecycle’ of ASP.Net MVC does works?
How do you sort a dataset?
Is razor a server side?