title: How do I display only two decimals in a textbox and still read 5 decimals?
body: <p>I am using an ASP.NET <code>GridView</code> control with a <code>TemplateColumn</code> which has a <code>TextBox</code> in the <code>ItemTemplate</code>. I am binding the <code>Text</code> of the <code>TextBox</code> with the values from database. The database holds these values with five decimal points, and for the interface I would like to display only two decimals. </p>
  
  <p>The user can make changes to this grid. When I'm saving, I would like to be able to get all five decimals for the values that are not changed. Since it is displayed as two decimals, I was only able to read two decimals on postback? Is there a way around this other than saving the actual value in a hidden variable?</p>
  
  <p>Thanks,</p>
  
  <p>sridhar</p>