首页 新闻 论坛 群组 Blog 文档 下载 读书 Tag 网摘 搜索 .NET Java 游戏 视频 人才 外包 数据库 第二书店 程序员

长文章内容 分页? 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



他们设置了哪些标签:




谁收藏了这个网址:


live_7sky收录

时间:2008-6-25 9:17:15 | 相关网摘

emenwin收录

时间:2008-6-25 14:30:07 | 相关网摘

sjt000收录

时间:2008-6-25 16:33:33 | 相关网摘

guoyz_1收录

时间:2008-6-25 17:03:17 | 相关网摘

交的一篇文章,用FCKeditor保存在数据库里面,现在需求是,显

zhangz12收录

时间: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

itcoo收录

时间:2008-8-26 3:27:20 | 相关网摘

myNewRow["Article"].ToString

网站简介广告服务网站地图帮助联系方式诚聘英才English 问题报告
北京创新乐知广告有限公司 版权所有 京 ICP 证 070598 号
Copyright © 2000-2008, CSDN.NET, All Rights Reserved