private void LoadData(string strType)
 {
     if (strType == "1")
     {
         string strID = Request.QueryString["value"];//操作ID
         zlzw.BLL.EnterpriseServiceTypeListBLL enterpriseServiceTypeListBLL = new zlzw.BLL.EnterpriseServiceTypeListBLL();
         zlzw.Model.EnterpriseServiceTypeListModel enterpriseServiceTypeListModel     = enterpriseServiceTypeListBLL.GetModel(int.Parse(Get_ID(enterpriseServiceTypeListBLL, strID)));
         txbEnterpriseServiceTypeName.Text = enterpriseServiceTypeListModel.EnterpriseServiceTypeName;//服务名称
         txbOrderNumber.Text = enterpriseServiceTypeListModel.OrderNumber.ToString();//排序号
         if (enterpriseServiceTypeListModel.IsHot == 1)
         {
             ckbIsHot.Checked = true;
         }
         else
         {
             ckbIsHot.Checked = false; ;
         }
         ViewState["PublishDate"] = enterpriseServiceTypeListModel.PublishDate.ToString();
         ViewState["EnterpriseServiceTypeGUID"] = enterpriseServiceTypeListModel.EnterpriseServiceTypeGUID.ToString();
         ToolbarText2.Text = "编辑一个企业服务类型";
     }
     btnClose.OnClientClick = ActiveWindow.GetConfirmHideReference();
 }
        protected void btnDel_Click(object sender, EventArgs e)
        {
            if (grid1.SelectedRowIndexArray != null && grid1.SelectedRowIndexArray.Length > 0)
            {
                string strSelectID = "0";
                for (int i = 0, count = grid1.SelectedRowIndexArray.Length; i < count; i++)
                {
                    int rowIndex = grid1.SelectedRowIndexArray[i];
                    foreach (object key in grid1.DataKeys[rowIndex])
                    {
                        strSelectID = key.ToString();
                    }
                }
                #region 删除逻辑

                zlzw.BLL.EnterpriseServiceTypeListBLL enterpriseServiceTypeListBLL = new zlzw.BLL.EnterpriseServiceTypeListBLL();
                DataTable dt = enterpriseServiceTypeListBLL.GetList("EnterpriseServiceTypeGUID='" + strSelectID + "'").Tables[0];
                zlzw.Model.EnterpriseServiceTypeListModel enterpriseServiceTypeListModel = enterpriseServiceTypeListBLL.GetModel(int.Parse(dt.Rows[0]["EnterpriseServiceTypeID"].ToString()));
                enterpriseServiceTypeListModel.IsEnable = 0;
                enterpriseServiceTypeListBLL.Update(enterpriseServiceTypeListModel);
                EnterpriseServiceTypeList_BindGrid();

                #endregion
            }
            else
            {
                return;
            }
        }