how to retrive a TextBox value in to Sql database using C#
windows form application coding
Answer Posted / shanta
You should pass query as
insert into <tablename>('"+textbox.text+"')
no matter whether it contains number or string type value
| Is This Answer Correct ? | 8 Yes | 9 No |
Post New Answer View All Answers
Can a abstract class have a constructor?
Explain the difference between a struct and a class?
What is enum in c#?
What is difference between first and firstordefault?
What do you understand by the terms datareader object and dataset object?
How are delegates chosen?
How do you declare an interface in c#?
What does namespace mean?
What is difference between field and property in c#?
What is static classes?
What is the difference between string and string in c#?
Can the nested class access, the containing class. Give an example?
What is toint32 c#?
What happens if you add duplicate elements to a set?
What is an array class?