Populating textboxes

Results 1 to 2 of 2

Thread: Populating textboxes

  1. #1
    Join Date
    Dec 1969

    Default Populating textboxes

    When the user loggin I create a session UserID like this :<BR><BR>Session("UserID") = myDataReader("UserGroup")<BR><BR>I have one page that contains textboxes to input values, I want to populate one of the text<BR>boxes with the Session("userID") value on page load.<BR><BR>I create a variable like this:<BR><BR>Dim strUserID As String<BR>strUserID = Session("UserID")<BR> <BR>How do I populate my textbox with the strUserID value inherited from the Session("UserID").<BR><BR>rgds<BR>Pascal<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Populating textboxes

    Dim strUserID As String<BR>strUserID = Session("UserID")<BR>myTextbox.Text = strUserID<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts