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 retrive a TextBox value in to Sql database using C#
windows form application coding

Answer Posted / shikha kalyan

If you want to store value of a textbox in SQL Server
database then you should use an Insert query:

Let the textbox name be textbox1

Insert into <tablename>(<fieldname>) values('"+textbox1.Text+"')

Eliminate ' if textbox does not contain a string value.

Is This Answer Correct ?    18 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of using generics in c#?

912


What is the difference between final finally and finalize in c#?

933


What are extensions in c#?

974


Is c# a strongly-typed language?

994


Is string a class in c#?

841


What is view state c#?

889


What is wrong with the sample program below?

991


Where do I put dll files?

1010


Is null c# operator?

958


What is dll in vb.net?

942


What is a Assembly?

951


Explain the difference between Response.Write () and Response.Output.Write ().

957


What is disconnected data architecture in c#?

1025


What is the use of functional interface?

916


How much time will it take to learn unity?

936