using Swift.DAL.ExchangeSystem.LedgerSetup; using Swift.web.Library; using System; using System.Data; using System.Text; namespace Swift.web.include { public partial class ShowDrillDownHead : System.Web.UI.Page { private LedgerDao _obj = new LedgerDao(); private StringBuilder _str = new StringBuilder(); private SwiftLibrary _sl = new SwiftLibrary(); protected void Page_Load(object sender, EventArgs e) { _sl.CheckSession(); LoadHeader(); } private void LoadHeader() { string type = GetReportType(); var dt = _obj.GetLedgerHeader(type); if (dt == null || dt.Rows.Count == 0) { return; } _str.Append("
"); foreach (DataRow dr in dt.Rows) { _str.Append("
"); _str.Append(""); _str.Append(""); _str.Append("
"); _str.Append("
"); _str.Append("
"); _str.Append("
"); _str.Append("
"); } _str.Append("
"); getDetails.InnerHtml = _str.ToString(); } private string GetReportType() { return GetStatic.ReadQueryString("q", ""); } } }