Пример #1
0
        public CLAS.FileHistoryDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            CLAS.FileHistoryDataTable dt = new CLAS.FileHistoryDataTable();
            Fill(dt);
            return(dt);
        }
Пример #2
0
        public void BindFileHistoryData(CLAS.FileHistoryDataTable a)
        {
            officeIducOfficeSelectBox.AtMng = FM.AtMng;
            UIHelper.ComboBoxInit("ReturnCode", ucMultiDropDown1, FM);

            setBindingSources();

            a.ColumnChanged += new DataColumnChangeEventHandler(a_ColumnChanged);
            FM.GetCLASMng().GetFileHistory().OnUpdate += new atLogic.UpdateEventHandler(ucFileHistory_OnUpdate);
        }
Пример #3
0
        public CLAS.FileHistoryDataTable LoadByOfficeId(int OfficeId)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[FileHistorySelectByOfficeId]";
            this.sqlSelect.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters.Add(new System.Data.SqlClient.SqlParameter("@OfficeId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters["@OfficeId"].Value = OfficeId;

            CLAS.FileHistoryDataTable dt = new CLAS.FileHistoryDataTable();
            Fill(dt);
            return(dt);
        }
Пример #4
0
 internal FileHistoryBE(CLASManager pBEMng)
     : base(pBEMng, pBEMng.DB.FileHistory)
 {
     myA             = pBEMng;
     myFileHistoryDT = (CLAS.FileHistoryDataTable)myDT;
 }