private void LoadData(string strType)
 {
     if (strType == "1")
     {
         string strID = Request.QueryString["value"];//操作ID
         zlzw.BLL.NavigateListBLL navigateListBLL = new zlzw.BLL.NavigateListBLL();
         zlzw.Model.NavigateListModel navigateListModel = navigateListBLL.GetModel(int.Parse(Get_ID(navigateListBLL, strID)));
         txbNavigateName.Text = navigateListModel.NavigateName;//菜单名称
         txbOrderNumber.Text = navigateListModel.OrderNumber.ToString();//排序
         if (navigateListModel.IsShow == 1)
         {
             ckbIsShow.Checked = true;
         }
         else
         {
             ckbIsShow.Checked = false;
         }
         ViewState["PublishDate"] = navigateListModel.PublishDate.ToString();
         ViewState["NavigateGUID"] = navigateListModel.NavigateGUID.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.NavigateListBLL navigateListBLL = new zlzw.BLL.NavigateListBLL();
                DataTable dt = navigateListBLL.GetList("UserGuid='" + strSelectID + "'").Tables[0];
                zlzw.Model.NavigateListModel navigateListModel = navigateListBLL.GetModel(int.Parse(dt.Rows[0]["NavigateGUID"].ToString()));
                navigateListModel.IsEnable = 0;
                navigateListBLL.Update(navigateListModel);
                NavigateList_BindGrid();

                #endregion
            }
            else
            {
                return;
            }
        }