protected virtual void OnUpdating(SqlDataSourceCommandEventArgs e)
        {
            SqlDataSourceCommandEventHandler handler = base.Events[EventUpdating] as SqlDataSourceCommandEventHandler;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 2
0
        protected virtual void OnUpdating(SqlDataSourceCommandEventArgs e)
        {
            if (!HasEvents())
            {
                return;
            }
            SqlDataSourceCommandEventHandler h = Events [EventUpdating] as SqlDataSourceCommandEventHandler;

            if (h != null)
            {
                h(this, e);
            }
        }