script to get value of gridview field

Discussion in '.NET' started by RBeach1955, Mar 29, 2011.

  1. RBeach1955

    RBeach1955

    Joined:
    Jan 13, 2011
    Messages:
    9
    I am new to this but here goes:

    I have a textbox on my aspx file called BadgeIDData. I have a gridview that gives this ID. The gridview is hidden from most users. I have a textbox on the form called BadgeIDData that the user can see. I need the Gridview.BadgeID to be sent tot he BadgeIDData textbox. I have attempted the below in my script but to no avail.

    1 Sub Page_Load()
    2 BadgeIDData = FindControl("GridView1.BadgeID")
    3 End Sub

    Thanks
    RBeach1955, Mar 29, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AAJ
    Replies:
    0
    Views:
    614
  2. shapper

    Get GridView Bound Field value

    shapper, Mar 9, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    771
    shapper
    Mar 9, 2007
  3. Sound
    Replies:
    2
    Views:
    430
    Randy Webb
    Sep 28, 2006
  4. VUNETdotUS
    Replies:
    25
    Views:
    442
    Thomas 'PointedEars' Lahn
    Nov 10, 2007
  5. jr
    Replies:
    3
    Views:
    409
Loading...

Share This Page