views:

246

answers:

1

I have a detailview and bind data with datatable, when I click to edit mode and update data. I would like to get the new values pass to stored procedure for updating database.

Suggest me please.

A: 

Have you try Detailsview Item updating event..

  protected void dtv_ItemUpdating(object sender, DetailsViewUpdateEventArgs e)
{
    e.NewValues[""] = "your new value from control";
}
Muhammad Akhtar