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

How does the 'page lifecycle' of asp.net mvc works?

1146


What are Model Binders in ASP.Net MVC?

1365


What is mapping in entity framework? : Entity framework

1038


What are the advantages of asp.net mvc?

1091


how do you query in entity model when the result has a join from from different database other than the entity model?

1030


List the new features added in .net framework 4.0.

982


How to answer for project questions..?

2750


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

1027


Explain two instances where routing is not implemented or required?

1114


How does �side by side� work for the .net framework 3.0?

1024


What is managed extensibility framework?

1046


What type of filter does outputcacheattribute class represents?

1149


What is a razor file?

1026


How route table has been created in asp.net mvc?

1037


How does servicing work for the .net framework 3.0? If I install the .net framework 3.0, can I get service updates for the .net framework 2.0?

1011