How do I pass an asp variable to a selectcommand?

Posted by Anthony on Stack Overflow See other posts from Stack Overflow or by Anthony
Published on 2010-04-08T18:37:47Z Indexed on 2010/04/08 18:43 UTC
Read the original article Hit count: 242

Filed under:

I am trying to pass a variable "PIN2" that I am retrieving like below to a SelectCommand statement in a asp SqlDataSource tag

<%

Dim PIN As String = Request.ServerVariables("LOGON_USER")
Dim PIN2 As String = Right(PIN, 6)
 %>

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET