Click here to Skip to main content
16,019,876 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
SQL
String selQuery = "INSERT INTO MapDataImage" + "(USer_Comment)" + "VALUES" + Commentary.Value + "WHERE Source='" + TextBox1.Text + "' AND Destination='" + TextBox2.Text + "'";


i want to store user comment on sql data base..


so for that
i used text area

text area name is = Commentary


so sql query checks if user input textbox value match with database values
and then i want to comments to my SQL
User_Comment Field
Posted

1 solution

you can use a textbox with the property set Textmode=Multiline

see this link for documentation:
http://msdn.microsoft.com/pt-br/library/68cs6zxh(v=vs.100).aspx[^]
 
Share this answer
 
Comments
CHill60 15-Jul-13 19:51pm    
In what way does a multiline textbox save his comments to a sql database?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900