showguestbook.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.Configuration;
namespace baogelyb
{
/// <summary>
/// showguestbook 的摘要说明。
/// </summary>
public class showguestbook : System.Web.UI.Page
{
protected System.Web.UI.WebControls.DataList DataList1;
protected System.Web.UI.WebControls.Label Label1;
protected System.Web.UI.WebControls.Label Label2;
protected System.Web.UI.WebControls.Label Label3;
protected System.Web.UI.WebControls.Button Button3;
protected System.Web.UI.WebControls.Button Button1;
protected System.Web.UI.WebControls.Button Button2;
protected System.Web.UI.WebControls.Button Button4;
protected System.Web.UI.WebControls.TextBox TextBox1;
protected System.Web.UI.WebControls.Button Button5;
private void Page_Load(object sender, System.EventArgs e)
{
if(!this.IsPostBack)
{
this.Label2.Text="1";
this.databind();
this.TextBox1.Text="1";
}
}
// public string ShowReply(bool IsReplyed, string replytime, string replycontent)
// {
// if (!IsReplyed)
// {
// return "";
// }
// else
// {
// return "<br><hr size=1 width=100% align=center><font color=#009966>管理员于 '"+replytime+"' 回复</font><br><font color=#666666>'"+replycontent.Replace("\r\n","<br>")+"</font>";
// }
// }
private void databind()
{
// int CID=Convert.ToInt32(Request.QueryString["id"]);
int curPage=Convert.ToInt32(this.Label2.Text);
// string dbPath=System.Configuration.ConfigurationSettings.AppSettings["lyb"];
// //定义连接字符串
// string ConnStr="Provider=Microsoft.Jet.Sql.4.0;Data Source="+Server.MapPath(dbPath);
后面还有 105 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。