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 / suthasyed

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

Is This Answer Correct ?    66 Yes 41 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I publish my asp.net application to my isp's web server?

1023


Explain the difference between asp & asp.net.

964


They mostly asked difference between versions of technologies

1314


What is css in asp.net?

998


In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?

931


Define the steps to set up validation control.

991


how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

2039


Explain Session state management options in ASP.NET.

1031


What is a web farm?

935


Where is session data stored in asp net?

921


How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?

1961


What is slidemaster?

864


Is LINQ performance wise better or using sqlcommand?

5001


How to change Master page in ASP.Net using code?

1000


What does session_start () do?

1016