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#
coding?

Answer Posted / pksutha

sqlcommand cmd = new sqlcommand("insert into address values
(@textbox1.text,@textbox2.text)",connectionstring);

Is This Answer Correct ?    63 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is event bubbling?

1008


Explain the difference between value type and reference type?

653


What is state management in .net?

1065


What are the new features added from ASP to ASP.NET?

1085


Can you dynamically assign a Master Page?

984


What does mvc represent in asp.net? : asp.net mvc

1183


What is difference between web api and web services?

999


What is the use of placeholder control? Can we see it at runtime?

1068


What is the difference between session and application?

947


What are the new login controls in asp.net 2.0?

981


Describe the Server Control Events of ASP.NET?

1178


What are the major built-in objects in ASP.NET?

1093


What are the server controls in asp.net?

948


What are early binding and late binding.

1069


Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?

906