protected void GetBoundData4()
        {
            pager4.PageIndex = UCPaging4.CurrentPage;
            DataTable dt = CommonFun.GetDataByPagerQueryParam(pager4);

            CommonFun.Paging(dt, gridview4, UCPaging4, NoDataPanel4);
            if (NoDataPanel4.Visible)
            {
                UCPaging4.Visible = false;
            }
            else
            {
                UCPaging4.Visible = true;
                UCPaging4.InitPageInfo();
            }
        }
 private void bindGrid4()
 {
     pager.PageIndex = UCPaging4.CurrentPage;
     System.Data.DataTable dt = CommonFun.GetDataByPagerQueryParam(pager);
     CommonFun.Paging(dt, GridView4, UCPaging4, NoDataPanel4);
     if (NoDataPanel4.Visible)
     {
         UCPaging4.Visible = false;
     }
     else
     {
         UCPaging4.Visible = true;
         UCPaging4.InitPageInfo();  //分页控件中要显示的控件
     }
     foreach (GridViewRow gr in GridView4.Rows)
     {
         Label zdr4 = (Label)gr.FindControl("zdr4");
         if (Request.QueryString["action"] == "view")
         {
             gr.FindControl("hyperlink1").Visible = false;
             gr.FindControl("hyperlink3").Visible = false;
         }
         else
         {
             if (zdr4.Text.Trim() == UserName.Value)
             {
                 gr.FindControl("hyperlink10").Visible = true;
                 gr.FindControl("hyperlink12").Visible = true;
             }
             else
             {
                 gr.FindControl("hyperlink10").Visible = false;
                 gr.FindControl("hyperlink12").Visible = false;
             }
         }
     }
 }