Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1380 Points
287 Posts
May 03, 2012 09:10 PM|LINK
Instead of returning a value you can dolike this in ItemUpdated event of the formview to check whether data is updated successfully or not.
protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e) { if (e.Exception != null) { lblError.Text = e.Exception.Message; } }
Thanks
Madhu
Madhu1234
Participant
1380 Points
287 Posts
Re: Check update status in formview
May 03, 2012 09:10 PM|LINK
Instead of returning a value you can dolike this in ItemUpdated event of the formview to check whether data is updated successfully or not.
protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
if (e.Exception != null)
{
lblError.Text = e.Exception.Message;
}
}
Thanks
Madhu