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
What is attribute and reflection in c#?
Is namespace necessary in c#?
What is difference between new and override in c#?
What is deadly diamond problem?
Are constructors inherited c#?
Differentiate between method overriding from method overloading with its functionality?
What is the difference between structure and class in c#?
Define thread?
Is clr a compiler?
What are strong name assemblies?
What is unrecognized escape sequence in c#?
What are the advantages of using assemble language programming?
Define an array?
Explain the use of Mutex in C#?
What is the difference between firstordefault and first?