I have a multi line text box in windows form and i am using VB .NET.
When the user enters the data into the text box and saves, i am storing it as string data type in database.
The text box value i have stored in the database is used as mail body to send email to guest.
while i am storing and retrieving the text box value as string, even though the user enters the data in new line, multi line and with spaces, it is storing as continuous string.
What I have tried:
I am using
string body = textbox1.text
I want to store it as a html format in the database and to retrieve the same as in html format. so that i can send the email as in the format of the user entered data.
Thanks In Advance