Subject:   The Update command inserts old values
Date:   2007-05-08 07:43:54
From:   IrfanJanjua
Response to: The Update command inserts old values

If you are working with asp.net then


protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)//this is key sentence
{
// your code
}
}