How do I store a 10 lines of sentence in a textbox

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2006
Posts: 13
Reputation: B.H is an unknown quantity at this point 
Solved Threads: 0
B.H B.H is offline Offline
Newbie Poster

How do I store a 10 lines of sentence in a textbox

 
0
  #1
Sep 4th, 2006
Am using VB.NET and SQL SERVER as the Backend.

I used a text box and in the property window i set it to Multiline ie i made it to true and in the database for this field i put the data type as nvarchar and made it to 4000( ie the maximum limit) and when i type say eg: I have repaired the computer and would you like it to sell"..like this i copied 6 times and it doesn't save.

plsee help
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 13
Reputation: B.H is an unknown quantity at this point 
Solved Threads: 0
B.H B.H is offline Offline
Newbie Poster

Re: How do I store a 10 lines of sentence in a textbox

 
0
  #2
Sep 5th, 2006
Guys I got the solution..actually it was the same thing tht i did..but when i tested it..i by mistake put some symbols like ' or a comma which caused error in the sql queries when it tried to execute.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC