在 ItemUpdating 上,我能够检索字段值,但我无法仅检索更新的值。
有没有比下面的方法更好的方法来做到这一点?
protected void fwHotelDetails_ItemUpdating(Object sender, FormViewUpdateEventArgs e)
{
TextBox tbName = (TextBox)fwHotelDetails.Row.FindControl("input_name");
MessageLabel.Text = "This works..." + tbName.Text;
}