Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is viewbag?

978


What is an asynchronous controller in asp.net mvc?

983


What is meant by viewdata?

935


Explain representational state transfer (rest) in detail?

973


What are the two ways to add constraints to a route?

927


Explain JSON Binding?

1036


What are html helpers in asp.net mvc?

986


Explain the role of assembly in the .net framework.

968


What is .net framework in simple terms?

960


How large is the .net framework 3.0? Does this change make the release larger?

954


Explain the difference between viewbag and viewdata in mvc?

925


How the ‘page lifecycle’ of ASP.Net MVC does works?

1075


sql related question (outer join, left, right etc) array vs hashtable CRL sqldatareader vs dataset what is WPF, WCF, compare to WinForms Webservices Asp.net MVC vs WebForms?

3428


How to bind table colum with gridview column?

1089


What is meant by domain model?

976