Пример #1
0
 protected void rptConfig_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "del")
     {
         try
         {
             ConfigurationService.DeleteConfiguration(this.CurrentUser.UserName, Guid.Parse(e.CommandArgument.ToString()));
             InitData();
         }
         catch (Exception ex)
         {
             ShowExceptionMessage(ex, "删除");
         }
     }
 }