using Swift.DAL.BL.Remit.Transaction; using Swift.web.Library; using System; using System.Data; using System.Text; namespace Swift.web.AgentPanel.CustomerInquery { public partial class List : System.Web.UI.Page { private readonly RemittanceLibrary obj = new RemittanceLibrary(); private readonly RemittanceLibrary _sl = new RemittanceLibrary(); private const string ViewFunctionId = "20177200"; protected void Page_Load(object sender, EventArgs e) { Authenticate(); if (!IsPostBack) { divTranDetails.Visible = false; PopulateDdl(); } } private void Authenticate() { _sl.CheckAuthentication(ViewFunctionId); } private void PopulateDdl() { _sl.SetDDL(ref country, "EXEC proc_online_dropDownList @flag='allCountrylist'", "countryName", "countryName", "", "Select.."); } protected void btnSearch_Click(object sender, EventArgs e) { SearchLogs(); } private void SearchLogs() { var obj = new TranViewDao(); var dt = obj.ViewInquiry(GetStatic.GetUser(), MobileNo.Text); if (null == dt) { return; } var str = new StringBuilder("
Updated By | "); str.Append("Updated Date | "); str.Append("Coutry | "); str.Append("Message/Complain | "); str.Append("Inquiry Type | "); str.Append("
---|---|---|---|---|
" + dr["createdBy"] + " | "); str.Append("" + dr["createdDate"] + " | "); str.Append("" + dr["Country"] + " | "); str.Append("" + dr["complian"] + " | "); str.Append("" + dr["msgType"] + " | "); str.Append("