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
How do you implement thread synchronization in c#?
What is method and function in c#?
What is meant by enumerable in c#?
Is c sharp and c# are same?
What are the Types of compatabilities and explain them
Is concurrent queue thread safe?
Are multiple data types stored in System.Array?
What is namespace in oops?
What is .net c#?
What is an assembly in .net?
What is call back method?
What is the difference between internal and protected in c#?
How do I create multifile assembly?
How do I make a dll in c#?
How many types of delegates are there in c#?