S
Shapper
Hello,
I have this code line:
Dim ticket As FormsAuthenticationTicket = New
FormsAuthenticationTicket(1, tbusername.Text, DateTime.Now,
DateTime.Now.AddMinutes(30), True, reader.GetString(0),
FormsAuthentication.FormsCookiePath)
And I get this error:
Name 'DateTime' is not declared.
Maybe I am missing the right Imports ... ?
If yes can someone tell me which? I can't find it.
If no, what am I missing here?
Thanks,
Miguel
I have this code line:
Dim ticket As FormsAuthenticationTicket = New
FormsAuthenticationTicket(1, tbusername.Text, DateTime.Now,
DateTime.Now.AddMinutes(30), True, reader.GetString(0),
FormsAuthentication.FormsCookiePath)
And I get this error:
Name 'DateTime' is not declared.
Maybe I am missing the right Imports ... ?
If yes can someone tell me which? I can't find it.
If no, what am I missing here?
Thanks,
Miguel