分页问题,如何对每个页码进行翻页显示 我用的是用户控件进行操作的
//获得所有页数集public string GetCount()
{
string str = "";
for (int i = 1; i <= PageCount; i++)
{
if (str != "")
{
str += " ";
}
if (PageIndex == i)
{
str += "<a class='link-pink' href='#'> " + i + "</a>";
PageIndex = i;
}
else
{
str += "<a href='#' > " + i + "</a>";
}
}
return str;
}
补充:.NET技术 , ASP.NET