Hi,
i declared the variable as follows:
dim msgNewsletterAction
then i got the value from a form:
msgNewsletterAction = Request.Form("newsletterAction")
then i sent the value to an email using AspNetEmail. I readed my email and
there it was...the word "Go".
This is why this is so strange.
Thanks,
Miguel
"AT" <an*****@avwork.com> wrote in message
news:eJ**************@TK2MSFTNGP11.phx.gbl...
"Miguel Dias Moura" <in************@27lamps.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl... Hello,
i have this code line in a script in my ASP.net / VB web site:
How msgNewsletterAction is declared?
Try msgNewsletterAction.ToString()
But msgNewsletterAction can be anything so please add info
if msgNewsletterAction = "Go" Then
code1
Else
code2
End If
code2 runs everytime even when msgNewsletterAction = "Go". code1 never
runs.
What is wrong in my sintax?
Thank You,
Miguel