using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
namespace Xinziyuan
{
public partial class _Default : System.Web.UI.Page
{
public string about = "";
protected void Page_Load(object sender, EventArgs e)
{
SqlDataReader dr = DBHelps.GetDataReader("select top 1 * from website where id=1");
if (dr.Read())
{
Page.Title = dr["title"].ToString();
keywords.Content = dr["keyword"].ToString();
description.Content = dr["description"].ToString();
about = dr["about"].ToString();
}
if (!IsPostBack)
{
Response.Redirect("Admin/login.aspx");
}
}
}
}
如需定做或者获取更多资料,请联系QQ:375279829