title: custom templatefield using ASP.NET Gridview
body: <p>I can figure out a couple of hack ways of doing this,...but no really neat ".NET" way.</p>
  
  <p>I am displaying a table of data using Gridview...one of the columns is dedicated to displaying the status of a boolean variable. The spec I am trying to meet is to have a "On" and "Off" button in the column representing this variable....and clicking ON would change the variable to 1 in my database,...and clicking OFF would change it to 0 etc.</p>
  
  <p>I usually deal with php but I'm guessing this can somehow be done in a clean fashion using the templatefield...but,..i don't know how, which is why i'm asking :)</p>
  
  <p>any tips would be appreciated.
  Andrew</p>