string sSql = "select top 5 * from News where sort='国内新闻' and checks=1 order by PublishDate desc";
SQL s = new SQL();
DataSet ds = s.DSSearch(sSql);
DataList1.DataSource = ds;
DataList1.DataKeyField = "id";
DataList1.DataBind();
}
private void gjxw()
{
string sSql = "select top 5 * from News where sort='国际新闻' and checks=1 order by PublishDate desc";
SQL s = new SQL();
DataSet ds = s.DSSearch(sSql);
DataList2.DataSource = ds;
DataList2.DataKeyField = "id";
DataList2.DataBind();
}
private void ssyl()
{
string sSql = "select top 5 * from News where sort='时尚娱乐' and checks=1 order by PublishDate desc";
SQL s = new SQL();