public static ReportExecuter Load(Report musTemp, DataSet customDataSource) { ReportExecuter t = new ReportExecuter(); t.musTemp = musTemp; t.customDataSource = customDataSource; return t; }
public static ReportExecuter Load(Report musTemp, string customSQL, Hashtable sqlParams) { ReportExecuter t = new ReportExecuter(); t.musTemp = musTemp; t.customSQL = customSQL; t.sqlParams = sqlParams; return t; }
private void gridView_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e) { viewTemplate = (Report)gridView.GetRow(e.FocusedRowHandle); cbDocumentType.Visible = (viewTemplate.ExecutionType != ReportExecutionTypes.HtmlWithSQLQuery); }