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.
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.
Have you try Detailsview Item updating event..
protected void dtv_ItemUpdating(object sender, DetailsViewUpdateEventArgs e)
{
e.NewValues[""] = "your new value from control";
}