Default.aspx.cs
(完整代码) 1KBusing System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
Hr.component.News myNews = new Hr.component.News();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.Title = "网上人才招聘系统";
if (!Page.IsPostBack)
{
BindData();
}
}
}
private void BindData()
{
DataView myDv;
DataView myDv1;
System.Data.SqlClient.SqlDataReader myDr;
myDv = myNews.GetNewsLatest10();
myDr = myNews.GetPicNews();
dl_PicNews.DataSource = myDr;
dl_PicNews.DataBind();
}
public string SubNewTitle(string title)
{
SubTitle sub = new SubTitle();
title = sub.Sub(title, 40);
return title;
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。