How to Insert a TextBox value in to Sql database using C#
coding?

Answer Posted / sona

insert into emp(empname) values('"+textbox1.Text+"');

Is This Answer Correct ?    159 Yes 62 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is another word for redirect?

504


Is asp.net mvc front end or backend? : Asp.Net MVC

484


How would you turn off cookies on a page of a website?

498


What describes a query?

514


How do you open a page in a new window?

546






Can you explain the importance of finalize method in .net?

579


What is custom attribute?

565


Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?

586


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

534


Which tool you have done?

1474


Explain the concept of event bubbling in ASP.NET?

576


Which is faster union or union all?

565


What is asp.net response object?

551


What are the media types of http requests and response?

502


What is a reflection?

575