You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
543 B

  1. using System.Text;
  2. using Swift.DAL.SwiftDAL;
  3. using System.Data;
  4. namespace Swift.DAL.BL.System.Utility
  5. {
  6. public class DownloadSambaDataDao:SwiftDao
  7. {
  8. public DataTable DownLoadData(string user, string fromDate, string toDate)
  9. {
  10. var sql = "EXEC [proc_downloadSambaPaidData] @flag = 's'";
  11. sql += ",@user=" + FilterString(user);
  12. sql += ",@fromDate=" + FilterString(fromDate);
  13. sql += ",@toDate=" + FilterString(toDate);
  14. return ExecuteDataTable(sql);
  15. }
  16. }
  17. }