using Swift.DAL.BL.Remit.Administration; using Swift.DAL.SwiftDAL; using Swift.web.Library; using System; using System.Data; using System.Text; namespace Swift.web.Remit.Administration.AgentBankMapping { public partial class Manage : System.Web.UI.Page { private readonly StaticDataDdl _sdd = new StaticDataDdl(); private readonly CountryDao obj = new CountryDao(); protected void Page_Load(object sender, EventArgs e) { GetStatic.PrintMessage(Page); if (!IsPostBack) { PopulateMenu(); } } private void PopulateMenu() { _sdd.SetDDL(ref ddlApiBank, "exec proc_dropDownLists2 @flag='getAPIBank' ", "agentId", "agentName", "", "Select"); } protected void btnSearch_Click(object sender, EventArgs e) { DataTable dt = obj.getAgentMappingData(ddlApiBank.SelectedValue, GetStatic.GetUser()); int count = 1; StringBuilder sb = new StringBuilder(); if (dt == null || dt.Rows.Count == 0) { return; } showData.Visible = true; foreach (DataRow dr in dt.Rows) { sb.Append("