title: Value not Inserted in a table
body: <p>I am working on WPF. There are two problems generated in my code. </p>
  
  <ol>
  <li>when i entered values it assigned 0 to ID </li>
  <li>secondly after inserting value when I stopped debugging 
    and again started it, it showed value of Id but it didn't 
    show entered value. and assigned 1005 rather than assigning 12.</li>
  </ol>
  
  <p>Please guide me.</p>