title: Edit table in mvc view using jquery dialog
body: <p>I am Using MVC 3 + Razor. I have a MVC view called Details. I Retreived and Displayed the Details data from SQL server database table. I have a Clickable <code>&lt;a/&gt;</code> Column "Type". Clicking on the Type Anchor link Displays a Jquery Popup. </p>
  
  <pre><code>| type      |   date   | completed |  
  |________________________________ _|  
  |           |          |           |  
  | sample    | 1/1/2012 |           |  
  |(Clickable)|
  </code></pre>
  
  <ol>
  <li><p>How do I Retreive the entire row data related to Clicked element From the Table in SQL server and Display that Data on Jquery Dialog.Every Type Field has an ID associated with it. </p></li>
  <li><p>I have a check box on Jquery Dailog. If its selected, the Completed column within the View Must have Current date and must Update Database table (Which contain a Date Field).</p></li>
  </ol>
  
  <p>Looking for code samples or links or tutorials--haven't been able to find anything with Edit and add capability.</p>