Esempio n. 1
0
    protected void GetToPartyDetail()
    {
        Int32 MsgId = Convert.ToInt32(Request.QueryString["MsgId"]);

        dt = new DataTable();

        dt = clsMessage.SelectMsgforDetailExt(MsgId);
        if (dt.Rows.Count > 0)
        {
            lblFrom.Text    = dt.Rows[0]["PartyName"].ToString();
            lblsubject.Text = dt.Rows[0]["MsgSubject"].ToString();
            lblmessage.Text = dt.Rows[0]["MsgDetail"].ToString();
            lbldate.Text    = dt.Rows[0]["MsgDate"].ToString();
        }
    }