//写一个类
public class SplictPage
{
public static string bind(string content, string Id)
{
string thisnr = "";
string thispage = "";
string[] temp = content.Trim().Split(<a href="mailto:'{@cpbcw}');">'{$cpbcw$}');</a> if (System.Web.HttpContext.Current.Request.QueryString["page"] == null)
{
thisnr = "<div>" + temp[0] + "</div>";
}
else
{
thisnr = "<div>" + temp[System.Convert.ToInt32(System.Web.HttpContext.Current.Request.QueryString["page"]) - 1] + "</div>";
}
if (temp.Length > 1)
{
for (int i = 0; i <= temp.Length - 1; i++)
{
thispage += "<a href=?x_);
相关文章: