62,243
社区成员




string id = Request.QueryString["id"];
if (id == "")
{
Label1.Text += "暂无记录。请从后台添加新闻。";
}
else {
string sql = "select * from news where id=" + id;
vData vds = new vData();
DataSet ds = vds.GetDataSet(sql);
if (ds.Tables[0].Rows.Count > 0)
{
Label1.Text += ds.Tables[0].Rows[0]["Content"].ToString();
}
}
if (Label1.Height.Value < 600) {
Label1.Height = 600;
}