コード例 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            dbModule dm = new dbModule();
            int id = Convert.ToInt32(Request["id"]);
            if (id != null)
            {

                lbldate.Text = dm.getTongZhiDateById(id);
                lblmsg.Text = dm.getTongZhiNeiRongById(id);
                lbltitle.Text = dm.getTongZhiBiaoTiById(id);
                lblusername.Text = dm.getTongZhiFaBuById(id);
            }
        }
    }