using Swift.DAL.BL.Remit.Compliance; using Swift.web.Library; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Swift.web.Remit.Compliance.OfacReleaseRpt { public partial class MoreMatches : System.Web.UI.Page { complianceDao cd = new complianceDao(); private readonly SwiftLibrary sl = new SwiftLibrary(); protected void Page_Load(object sender, EventArgs e) { sl.CheckSession(); PopulateMoreMatches(); } private void PopulateMoreMatches() { DataTable response = cd.GetMoreMatches(GetTranId()); if (response == null) { return; } if (response.Rows[0]["isJsonData"].ToString() == "Y") { string res = GetStatic.ParseOfacJson(response.Rows[0]["ofacRemarks"].ToString(), ""); if (!string.IsNullOrEmpty(res)) { txnDetails.InnerHtml = res; } return; } var str = new StringBuilder("
S. No. | OFAC Remarks |
---|---|
" + sn + " | "); str.Append("" + dr[1].ToString() + " | "); str.Append("