Jump to content

ASP variable problem


theAntiGeek

Recommended Posts

can anyone tell my why a variable in ASP is only storing characters in a string upto the first white space character? this string is from the value of "topic" from this SQL statement.rs.Open "SELECT topic FROM blogentrys ORDER BY entryNo DESC", connthe value of "topic" is "my first blog entry" i use the following code to assign this string to the variable:Dim topicValuetopicValue = rs.Fields.Item("topic").Valuebut when i display the value of the variable topicValue i get only "my".this def has something to do with the fact the string is coming from the sql statement.any help or explanation would be great.cheers guys

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...