/// <summary>
        /// girdview绑定行事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void gvTaskList_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                FSCheckBox cbSelect = (FSCheckBox)e.Row.FindControl("cbSelect");
                FSLinkButton lbtnCopy = (FSLinkButton)e.Row.FindControl("lbtnCopy");
                FSLabel lblID = (FSLabel)e.Row.FindControl("lblID");

                GetCheckItemID();

                if (String.IsNullOrEmpty(lblID.Text.Trim()) || SysConvert.ToInt32(lblID.Text.Trim()) <= 0)
                {
                    cbSelect.Visible = false;
                    lbtnCopy.Visible = true;
                }
                else
                {
                    cbSelect.Visible = true;
                    lbtnCopy.Visible = false;
                    if (txtID.Text == lblID.Text)
                    {
                        cbSelect.Checked = true;
                    }
                }
                DataRowView dr = e.Row.DataItem as DataRowView;
                ListUIBase lu = new ListUIBase();
                lu.IndicateNoData(dr["MARK"], e.Row);
            }
        }
 protected void gvProcessStep_RowDataBound(object sender, GridViewRowEventArgs e)
 {
     if (e.Row.RowType == DataControlRowType.DataRow)
     {
         DataRowView dr = e.Row.DataItem as DataRowView;
         Label lbllook = new Label();
         lbllook.Text = "查看";
         //if (GetCanLookPeople==""||GetCanLookPeople.Contains(dr["User_ID"].ToString()))
         //{
         lbllook.Attributes.Add("onclick", string.Format(@"javascript: window.open('../../Container.aspx?ProcessID={0}&WorkItemID={1}&TemplateName={2}&StepName={3}&TBID={4}&IsHistory=1')", dr["Proc_Inst_ID"], dr["Work_Item_ID"], dr["PDEF_NAME"], dr["StepName"], dr["TBID"]));
         lbllook.Style.Add("text-decoration", "underline");
         lbllook.ForeColor = System.Drawing.Color.Blue;
         //}
         e.Row.Cells[0].Controls.Add(lbllook);
         ListUIBase lu = new ListUIBase();
         lu.IndicateNoData(dr["MARK"], e.Row);
     }
 }