title: select data from gridview field and populate textbox
body: <p>I'm trying to populate a single text box (or parameter) with data from a gridview column when I click on a button in that row.
  Gridview gets it data from a sqlconnection</p>
  
  <p>the gridview is </p>
  
  <p>| Drawing |</p>
  
  <p>| 12345   |   VIEW</p>
  
  <p>| 12346   |   VIEW</p>
  
  <p>the VIEW is a template button with an onclick event, when the user clicks the button the data from the Drawing column (12345) should be passed to ether a textbox or a paremeter. (this is the part I dont know how to do)  once the Iv got the number in a textbox I can use it as pareameter and then a pdf is opened of that drawing, I have code for this and is working.</p>
  
  <p>thanks for any help</p>