protected void MainGrid_RowCommand(object sender, GridViewCommandEventArgs e) { if (e != null && e.CommandName == deleteCommand & e.CommandArgument != null) { MetaDataWrapper.DeleteBridge(e.CommandArgument.ToString()); CHelper.RequireDataBind(); } }