我爱Aspx >> Asp.Net >> 关于手写datareader分页程序的一段代码,有点小错误,呵呵,20分表心意!!!!!主代码是这些:
google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_color_url = "000000";
public partial class iframefordiscovery: System.Web.UI.Page
{
public string html;
public OleDbConnection conn;
int RecordCount, PageCount, CurrentPage, PageSize, startID, endID;
public void Page_Load(Object sender, EventArgs e)
{
if(!IsPostBack)
{
PageSize = 15;
RecordCount = CalculateRecord();
PageCount = RecordCount / PageSize;
if (RecordCount % PageSize > 0)
PageCount = PageCount + 1;
lblPageCount.Text = PageCount.ToString();
lblRecordCount.Text = RecordCount.ToString();
CurrentPage = 0;
}
}
protected void tohtml()
{
string startIDt, endIDt;
startID = 0;
endID = 0;
startIDt = Request.Params["sid"];
Ҷƪл˵?
两个超小问题,请大家看看?[07-06]
一个oncommand的问题[07-06]
javascript判断CheckBoxList必须..[07-06]
现在的人啊,郁闷,散分[07-06]
求asp.net表格控件或解决方案,要..[07-06]
J2EE5中是否已不再需要spring+hi..[07-06]
xp里有域用户管理器,具体在哪,没..[07-06]
232口电压控制[07-06]
java怎么访问windows目录服务器A..[07-06]
关于asp+access网站访问速度的问..[07-06]