protected void repNewsList_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                T_SystemInfo_MDL view = e.Item.DataItem as T_SystemInfo_MDL;
                CheckBox         chkSystemInfoCode = e.Item.FindControl("chkSystemInfoCode") as CheckBox;
                chkSystemInfoCode.InputAttributes.Add("value", view.SystemInfoCode);

                ctrlTextBoxEx txtOrderIndex = e.Item.FindControl("txtOrderIndex") as ctrlTextBoxEx;
                HiddenField   txtHidSid     = e.Item.FindControl("txtHidSid") as HiddenField;

                if (DNTRequest.GetQueryInt("SignatureTypeCount", 0) > 0)//已做过签章设置的 ,重新绑定
                {
                    List <T_FileList_SignatureTmp_MDL> ltSignatureTmp  = ViewState["ltSignatureTmp"] as List <T_FileList_SignatureTmp_MDL>;
                    T_FileList_SignatureTmp_MDL        SignatureTmpMdl = ltSignatureTmp.Where(r => r.SignatureType.ToLower() == view.SystemInfoCode.ToLower()).FirstOrDefault();
                    if (SignatureTmpMdl != null)
                    {
                        chkSystemInfoCode.Checked = true;
                        txtOrderIndex.Text        = ConvertEx.ToInt(SignatureTmpMdl.OrderIndex).ToString("D2");
                        txtHidSid.Value           = SignatureTmpMdl.SID.ToString();
                    }
                }
                else
                {
                    txtHidSid.Value = "";
                }
            }
        }
 public void Execute(int fileListID, string signatureType, int signatureOrderIndex)
 {
     if (ConvertEx.ToString(signatureType).Length < 1)
     {
         signatureTmpBll.DeleteForFileListID(fileListID);
     }
     else
     {
         T_FileList_SignatureTmp_MDL signatureTmpMdl = new T_FileList_SignatureTmp_MDL();
         signatureTmpMdl.FileListID     = fileListID;
         signatureTmpMdl.SignatureType  = signatureType.Trim();
         signatureTmpMdl.SignatureCount = 0;
         signatureTmpMdl.OrderIndex     = signatureOrderIndex;
         signatureTmpBll.Add(signatureTmpMdl);
     }
 }