protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string LawGuid = Convert.ToString(Request.QueryString["LawGuid"]); //获取详细内容 Detail_CAW_LAWITEMS LI = new CAWLaw().Select(LawGuid); divTitle.InnerHtml = LI.LAWNAME; divContent.InnerHtml = LI.LAWINFO; divOtherInfo.InnerHtml = "发布机构:" + LI.LAWFROM + " 发布时间:" + LI.LAWDATE.ToShortDateString(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string LawGuid = Convert.ToString(Request.QueryString["LawGuid"]); Detail_CAW_LAWITEMS LI= new CAWLaw().Select(LawGuid); txtLayTitle.Text = LI.LAWNAME; txtKeyWords.Text = LI.KEYWORDS; FCKeditor1.Value = LI.LAWINFO; txtWH.Text = LI.LAWNO; dtPubDate.Text = LI.LAWDATE.ToShortDateString(); txtFrom.Text = LI.LAWFROM; } }