예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         try
         {
             var transNumber = Request.QueryString["transNumber"].ToString();
             if (!string.IsNullOrEmpty(transNumber))
             {
                 DataTable tbMsgContent = MsgBLL.GetMsgContentByTransID(transNumber);
                 if (tbMsgContent != null && tbMsgContent.Rows.Count > 0)
                 {
                     lbTransNo.Text    = transNumber;
                     lbMsgContent.Text = tbMsgContent.Rows[0]["msgContent"].ToString();
                 }
                 Label1.Text = transNumber;
             }
         }
         catch (Exception ex)
         {
             ExceptionReporter.WriteLog(ex, ExceptionPostion.TBApply_Web_UI);
         }
     }
 }