Mark, you will have to give us a bit more info here.
What do you mean by - Create a new line in vb 2008, a new line of code, a string etc?
What kind of database are you using, Sql, MySql, Access etc?
In the mean while, have a look at the following link to getting your app connected to the database - http://www.connectionstrings.com/ , choose your database and go through the connection string that will suite you.
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350
Use vbCrLf - new line (line feed character).
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
Alright! That's what I was so looking forward. CRLF! How about for my database?
Dim sql = "update tableName set colName1=@p2 where colName2=@p1"
cmd.CommandText = sql
cmd.Connection = cn
cmd.Parameters.AddWithValue("@p2", "Hello" & vbCrLf & "World")
cmd.Parameters.AddWithValue("@p1", my_id)
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
I can't figure this out. What's in the code ADATAPOST?
I guess you will have to put in a bit more effort and try it on your own. Read the MSDN documentation or books related to the Database API and do some experimentation.
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241