using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
using BLL;
namespace ComResProSystem
{
    public partial class ShowWorkPlan:BasePage
    {
        BaseBLL bll=new BaseBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                string ID=Request.QueryString["ID"];
                List<object> list=bll.SelectObject(typeof(Model.WorkPlan),"WorkPlan","Theme,AddUser,Contents,AddTime","ID="+ID);
                Model.WorkPlan plan=(Model.WorkPlan)list[0];
                Lb_Theme.Text=plan.Theme;
                Lb_AddUser.Text=plan.AddUser;
                Lb_AddTime.Text=plan.AddTime;
                Tb_Contents.Text=plan.Contents;
            }
        }
    }
}