コード例 #1
0
ファイル: postarticle.aspx.cs プロジェクト: xbf321/GETech
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         if (articleId != 0)
         {
             articleInfo                   = ArticleManage.GetArticleInfoByArticleId(articleId);
             this.txtContent.Text          = articleInfo.Content;
             this.txtTitle.Text            = articleInfo.Title;
             this.PublishDate.SelectedDate = articleInfo.PublishDate;
             this.txtLinkUrl.Text          = articleInfo.LinkUrl;
             this.txtImageUrl.Text         = articleInfo.ImageUrl;
             this.txtIntroduction.Text     = articleInfo.Introduction;
         }
     }
 }