i am a c++ guy and new to this asp stuff. i have done vb before and anyways i am trying to get an
asp.net page working and my variable assigments are generating errors.
Dim myString As String = "This is a string."
above works fine.
Dim myString As String
myString = "This is a string."
OR
Dim myString As String = "This is a string."
myString = "This is a new string."
the other two blocks of code generate errors saying the 'myString = ' lines expect a declaration. this is bizarre. what am i missing, i know i should be able to change the value of my variables after they are assigned.
please help
james