How to Insert a TextBox value in to Sql database using C#
coding?
Answer Posted / v.vijayakumar
Syntax:
INSERT INTO table name(column name,column name,column
name)values(values,values,values);
Example:
INSERT INTO
employee(Name,emp_id,designation)values('"+textbox1.text+"',"+textbox2.text+",'"+textbox3.text+"');
..................if u use Html control we must use
textbox1.value ..if u use asp.net controls we have to use
textbox1.text........
Is This Answer Correct ? | 160 Yes | 56 No |
Post New Answer View All Answers
Explain page output caching?
List the asp.net validation controls?
Give some salient points of difference between request processor and request dispatcher.
How would you get asp.net running in apache web servers?
How will you load dynamic assembly?
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
Which class is used to send an email message from an ASP.NET Web page?
Explain the disadvantages of viewstate?
Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?
What is asp net_sessionid?
How can we prepairing Interview
Explain the boxing and unboxing concept in .net?
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
Why should i prefer JSP over asp.net or any other web development language..??
What do you mean by View State and what is its role?