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.

34 lines
1.1 KiB

  1. using System;
  2. using Swift.web.Library;
  3. namespace Swift.web.Remit.Transaction.PayAcDepositV3.PaidTransaction
  4. {
  5. public partial class Manage : System.Web.UI.Page
  6. {
  7. private readonly SwiftLibrary _sl = new SwiftLibrary();
  8. private const string ViewFunctionId = "20122500";
  9. protected void Page_Load(object sender, EventArgs e)
  10. {
  11. Authenticate();
  12. if (!IsPostBack)
  13. {
  14. fromDate.Text = DateTime.Now.ToString("MM/dd/yyyy");
  15. toDate.Text = DateTime.Now.ToString("MM/dd/yyyy");
  16. }
  17. }
  18. private void Authenticate()
  19. {
  20. _sl.CheckAuthentication(ViewFunctionId);
  21. }
  22. protected void btnSearch_Click(object sender, EventArgs e)
  23. {
  24. Response.Redirect("Pending.aspx?fromDate=" + fromDate.Text + "&fromTime=" + fromTime.Text + "&toDate=" + toDate.Text + "&toTime=" + toTime.Text + "");
  25. }
  26. protected void BtnSearchAll_Click(object sender, EventArgs e)
  27. {
  28. Response.Redirect("Pending.aspx");
  29. }
  30. }
  31. }