title: Gridview - passing values to a textbox
body: <p>I have a page with a gridview that is populated from a sql. The table on the sql is setup as follows.</p>
  
  <p>sopid, Type, DisplayOrder, Deleted.<br>
  1      test1  1            False<br>
  2      test2  2            False</p>
  
  <p>What i want to do is have a checkbox on the left hand side of the grid where if i check test1 and test2 for example it outputs the sopID to a textbox in the following manor - 1,2 etc... Also if i untick one it removes it from the textbox as well.</p>
  
  <p>Thanks</p>