title: How do I pass an asp variable to a selectcommand?
body: <p>I am trying to pass a variable "PIN2" that I am retrieving like below to a  SelectCommand statement in a asp SqlDataSource tag</p>
  
  <blockquote>
    <p>&lt;% </p>
  
  <pre><code>Dim PIN As String = Request.ServerVariables("LOGON_USER")
  Dim PIN2 As String = Right(PIN, 6)
   %&gt;
  </code></pre>
  </blockquote>
  
  <p>Thanks</p>