BVB Source Codes

Crown lattice space blog system V4.2 Web source version Show AdminBlogCommentEdit.aspx.cs Source code

Return Download Crown lattice space blog system V4.2 Web source version: download AdminBlogCommentEdit.aspx.cs Source code - Download Crown lattice space blog system V4.2 Web source version Source code - Type:.cs
  1. namespace Goago.UserCenter
  2. {
  3.     using System;
  4.     using System.Data;
  5.     using System.Configuration;
  6.     using System.Collections;
  7.     using System.Web;
  8.     using System.Web.Security;
  9.     using System.Web.UI;
  10.     using System.Web.UI.WebControls;
  11.     using System.Web.UI.WebControls.WebParts;
  12.     using System.Web.UI.HtmlControls;
  13.     using Goago.Business;
  14.     using System.Collections.Generic;
  15.     using Goago.DataFactory;
  16.     using Goago.Common;
  17.     public partial class AdminBlogCommentEdit : System.Web.UI.Page
  18.     {
  19.         /// <summary>
  20.         /// 评论ID
  21.         /// </summary>
  22.         int CommentID
  23.         {
  24.             get
  25.             {
  26.                 return RequestHelper.GetIntQueryString("CommentID");
  27.             }
  28.         }
  29.  
  30.         /// <summary>
  31.         /// 前一个Url信息
  32.         /// </summary>
  33.         string PreUrl
  34.         {
  35.             get
  36.             {
  37.                 return RequestHelper.GetStringQueryString("PreUrl");
  38.             }
  39.         }
  40.  
  41.         protected void Page_Load(object sender, EventArgs e)
  42.         {
  43.             Users.CheckRegisterLogin();
  44.  
  45.             ClientScript.RegisterClientScriptBlock(this.GetType(), "Page1", Public.GetDivSuccessHTML());
  46.             ClientScript.RegisterClientScriptBlock(this.GetType(), "Page2", Public.GetDivProgressHTML(false));
  47.  
  48.             if (!this.IsPostBack)
  49.             {
  50.                 BindData();
  51.             }
  52.         }
  53.  
  54.         /// <summary>
  55.         /// 绑定信息
  56.         /// </summary>
  57.         private void BindData()
  58.         {
  59.             BlogCommentInfo info = DatabaseProvider.GetInstance().GetBlogCommentInfoByID(CommentID);
  60.             if (info !=null)
  61.             {
  62.                 BlogInfo bInfo = DatabaseProvider.GetInstance().GetBlogInfoByBlogID(info.BlogID);
  63.                 ltTitle.Text = bInfo.Title;
  64.                 ltUserName.Text = info.UserName;
  65.                 ltAddTime.Text = info.AddTime.ToString("yyyy-MM-dd HH:mm");
  66.                 ltCommentContent.Text = info.CommentContent;
  67.             }
  68.         }
  69.         protected void btnSend_Click(object sender, EventArgs e)
  70.         {
  71.  
  72.             //ClientScript.RegisterClientScriptBlock(GetType(), "alert", Public.GetDivSuccessScript(false), true);
  73.             ClientScript.RegisterClientScriptBlock(GetType(), "GoTo", Public.GoToPrevPageScript(PreUrl, false), true);
  74.         }
  75.  
  76.  
  77.  
  78.  
  79.     }
  80. }
  81.  
downloadAdminBlogCommentEdit.aspx.cs Source code - Download Crown lattice space blog system V4.2 Web source version Source code
Related Source Codes/Software:
Beautiful pictures web source _ blue CMS v1.0 - Asp.net 2.0 + sql2000, temporarily no other databa... 2016-10-08
LouHome folk remedies for v1.0 - 1. Net building (building net. China) offer online... 2016-10-08
In the history of the LOUHOME v1.0 today - 1. Building network series of open source software 2016-10-08
LOUHOME xiehouyu query v1.0 - 1. Building network series.net open source softwar... 2016-10-08
The good or ill luck for phone LouHome v1.0.1 - 0: fixed a bit subtle errors; 2016-10-08
Query leaming LouHome v1.0 - 1. Net building (building net. China) offer online... 2016-10-08
Video on demand system source code - For the first time to do the video on demand syste... 2016-10-08
Personal blog GRBrain.NET source code - Basic function: receptionist unregistered users ca... 2016-10-08
She's Blog source code - Sejiou Blog source Reception:   Admin  ... 2016-10-08
Crown, build the system (the fashion trend of clothing shoes and hats) V1.40 - Clothing, hats, fashion trends Industries: clothi... 2016-10-08
elasticsearch-jdbc - JDBC importer for Elasticsearch 2017-04-17
elasticsearch-js - Official Elasticsearch client library for Node.js ... 2017-04-17
iodocs - Interactive API documentation system 2017-04-17
MacRuby - MacRuby is an implementation of Ruby 1.9 directly ... 2017-04-17
ng-token-auth - Token based authentication module for angular.js. 2017-04-17
500px-android-blur - Android Blurring View http://developers.500px.com/... 2017-04-17
clair - Vulnerability Static Analysis for Container 2017-04-17
LiveScript - LiveScript is a language which compiles to JavaScr... 2017-04-16
ToGL - Direct3D to OpenGL abstraction layer 2017-04-16
naxsi - NAXSI is an open-source, high performance, low rul... 2017-04-16

 Back to top