title: Save checkbox value to a database when clicked?
body: <p>I added a checkbox to my list, just like there is a checkbox in a People and Groups list:<a href="http://img8.imageshack.us/img8/605/ss20090528093906.png" rel="nofollow noreferrer">alt text http://img8.imageshack.us/img8/605/ss20090528093906.png</a></p>
  
  <p>However in my list I want to save the selected value to database. But I have no idea how. I was figuring i could add javascript to <code>onClick</code> event, but neither I know where do I put that javascript (or can I use C# code?), neither I have an idea how update a database from javascript.</p>
  
  <p>Maybe you could help me, please? What are the other options? And how would I implement one?</p>
  
  <p>Thank you!</p>
  
  <p>In case if someone else wants to add checkbox, then <a href="http://murugangs.blogspot.com/2007/12/checkbox-in-listviewwebpart.html" rel="nofollow noreferrer">this</a> article did help me (but it is not detailed one)</p>