System.Web.UI.WebControls.GridView.OnRowUpdating C# (CSharp) Method

OnRowUpdating() protected method

protected OnRowUpdating ( GridViewUpdateEventArgs e ) : void
e GridViewUpdateEventArgs
return void
		protected virtual void OnRowUpdating (GridViewUpdateEventArgs e)
		{
			if (Events != null) {
				GridViewUpdateEventHandler eh = (GridViewUpdateEventHandler) Events [RowUpdatingEvent];
				if (eh != null) {
					eh (this, e);
					return;
				}
			}
			if (!IsBoundUsingDataSourceID)
				throw new HttpException (String.Format ("The GridView '{0}' fired event RowUpdating which wasn't handled.", ID));
		}