public CLAS.FileHistoryDataTable Load() { this.sqlDa.SelectCommand = sqlSelectAll; CLAS.FileHistoryDataTable dt = new CLAS.FileHistoryDataTable(); Fill(dt); return(dt); }
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); }
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); }
internal FileHistoryBE(CLASManager pBEMng) : base(pBEMng, pBEMng.DB.FileHistory) { myA = pBEMng; myFileHistoryDT = (CLAS.FileHistoryDataTable)myDT; }