protected void GdvPropertys_RowCommand(object sender, CommandEventArgs e) { string str; bool flag = false; if (((str = e.CommandName) != null) && (str == "Delete")) { flag = LabelManage.DeleteAttribute(this.xmlfilepath, e.CommandArgument.ToString()); this.OdsPropertys.DeleteParameters[0].DefaultValue = this.xmlfilepath; } else { flag = false; } if (flag) { this.GdvPropertys.DataBind(); } }