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.
 
 
 
 
 

45 lines
1.4 KiB

using System;
using Swift.web.Library;
using Swift.API.Common;
using Swift.DAL.RiskBasedAssessment;
using Swift.API.TPAPIs.CancelTPTxn;
using System.Web.Script.Serialization;
using System.Collections.Generic;
using System.Dynamic;
namespace Swift.web.Remit.Transaction.CancelTPTxn
{
public partial class CancelTPTxn : System.Web.UI.Page
{
GetStatusResponse getStatus = new GetStatusResponse();
private readonly RemittanceLibrary _sdd = new RemittanceLibrary();
RiskBasedAssessmentDao _rbaDao = new RiskBasedAssessmentDao();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
PopulateDDL();
}
}
private void PopulateDDL()
{
_sdd.SetDDL(ref Provider, "EXEC proc_CancelTPTxn @FLAG='provider'", "value", "text", "", "");
}
protected void btnSearch_Click(object sender, EventArgs e)
{
WingApiService wingService = new WingApiService();
getStatus = wingService.GetStatusWing(ControlNo.Text, Provider.SelectedValue);
string result = GetStatic.SerializeToJson(getStatus, true);
if (!string.IsNullOrEmpty(result))
{
rptGrid.Visible = true;
rptGrid.InnerText = result;
}
}
}
}