using System; using System.Collections.Generic; using System.Text; using UFIDA.U8.UAP.Services.ReportFilterService; namespace Report { public class ErrorReport : IGetSql { public void GetSql(IFilterArgs e) { string sql = "select * from wtu..errmsg where " + e.DataSource.FilterString; e.DataSource.SQL = sql; e.DataSource.Type = CustomDataSourceTypeEnum.SQL; } } }