Asp Gridview结合模糊查询(全文索引)的分页(10)
CurrentCount.Text = (int.Parse(CurrentCount.Text) + 1).ToString();
if (int.Parse(CurrentCount.Text) == int.Parse(CountPage.Text))
{
PrevePage.Enabled = true;
NextPage.Enabled = false;
LastPage.Enabled = false;
FirstPage.Enabled = true;
}
else
{
PrevePage.Enabled = true;
NextPage.Enabled = true;
LastPage.Enabled = true;
FirstPage.Enabled = true;
}
}
else if (Command == "LastPage")
{
CurrentCount.Text = CountPage.Text;
int CurrentCountL = int.Parse(CountPage.Text) * 5;
int Num = CurrentCountL - 5;
QuerryContent(CurrentCountL, Num);
PrevePage.Enabled = true;
NextPage.Enabled = false;
相关新闻>>
- 发表评论
-
- 最新评论 更多>>