示例#1
0
 protected void grdMilkCards_ItemCommand(object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e)
 {
     if (e.CommandName == "Delete")
     {
         string streetId = e.CommandArgument.ToString();
         if (!VShopHelper.DeleteStreetInfo(streetId.ToString()))
         {
             this.ShowMsg("未知错误", false);
         }
         else
         {
             this.BindData();
             this.ShowMsg("成功删除了一个街道信息", true);
         }
     }
 }