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 |
What are the advantages of razor view engine?
What is edm (entity data model)? : Entity framework
how can you tell ef to have a different table or column name than that defined for the class?
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
Why do you need to serialize
I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.
What does 'managed' mean in the .NET context
How does servicing work for the .net framework 3.0?
What is Attribute Routing in ASP.Net MVC?
What is renderbody?
Can you draw and explain the .NET Farmework?
What is ViewData and TempData in ASP.Net MVC?