长文章内容 分页? asp.net
newsID = Request.QueryString["NewID"]; //文章ID
int page = 1;
if (Request.QueryString["page"] != null)
{
page = int.Parse(Request.QueryString["page"].ToString());
}
string content = myNewRow["Article"].ToString();
ArrayList arrList = new ArrayList();
string pageString = "News.aspx?NewsID="+newsID+"&page="+page; //分页跳转
if (content.IndexOf("[nextpage]") > 1) //分页符[nextpage]
{
String[] tempList = content.Split(new String[] { "[nextpage]" }, StringSplitOptions.RemoveEmptyEntries);
for (int i = 0; i < tempList.Length; i++)
{
arrList.Add(tempList[i]);
}
}
else
http://topic.csdn.net/u/20080625/09/55b7cf9e-fc95-466d-8317-48e16cfb3c7b.html
他们设置了哪些标签:
谁收藏了这个网址:
时间:2008-6-25 9:17:15 | 相关网摘
时间:2008-6-25 14:30:07 | 相关网摘
时间:2008-6-25 16:33:33 | 相关网摘
时间:2008-6-25 17:03:17 | 相关网摘
交的一篇文章,用FCKeditor保存在数据库里面,现在需求是,显
时间:2008-7-30 22:25:44 | 相关网摘
newsID = Request.QueryString["NewID"]; //文章ID
int page = 1;
if (Request.QueryString["page"] != null)
{
page = int.Parse(Request.QueryString["page"].ToString());
}
string content = myNewRow["Article"].ToString();
ArrayList arrList = new ArrayList();
string pageString = "News.aspx?NewsID="+newsID+"&page="+page; //分页跳转
if (content.IndexOf("[nextpage]") > 1) //分页符[nextpage]
{
String[] tempList = content.Split(new String[] { "[nextpage]" }, StringSplitOptions.RemoveEmptyEntries);
for (int i = 0; i < tempList.Length; i++)
{
arrList.Add(tempList[i]);
}
}
else
时间:2008-8-26 3:27:20 | 相关网摘
myNewRow["Article"].ToString