留言簿

我要留言
留言搜索

2009-11-20 10:17  盖飞

在CSDN西安分站俱乐部看到您的留言,真是高兴,我们为有您这样的会员而骄傲!在此留个脚印,以示来过!
回复:谢谢支持!!

2009-11-19 14:19  shallen

我一口气看了几百条留言。不知道现在还可不可以留言。。。
回复:可以的,看留言和写留言是两回事:)

2009-11-19 05:44  萧水寒

你好啊。在使用MVCPAGER时又遇到了个新问题。。如果页面在还在其它的参数,,那么这个分页就没法用啦?
比如我想要URL效果是这样子的:Http://127.0.0.1/Item?Key=XX&Cmd=XX&Page(这个才是分页的参数)
回复:您好,MvcPager会把当前url中的参数在分页后重新加入route中,分页前在url中存在的参数,分页后应该仍然会保留在url中,您碰到参数丢失的情况了吗?

2009-11-18 23:55  abby

你好 我装上了示例 在本地可以实现Repeater分页效果 ,但是下面的Datalist分页效果 提示“Server Error in '/aspnetpager' Application.
--------------------------------------------------------------------------------

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

”

PS:1、我只有sql2000 但没装 因为上面写着要05的 我不知道2000可以不?
2、那个dll文件我下了 但不知放在哪里?
3、还需要其他什么设置吗 谢谢
回复:您好,无论是sql server 2000还是2005都可以,您需要修改的是web.config中的connectionStrings配置节的数据库连接字符串,默认用的是sql server 2005 express,这个版本是免费的,您可以直接从微软网站下载,且只有几十M。

2009-11-18 14:16  Johnny

请问MvcPager中如果想使用有条件的ajax分页如何实现?也就是说同时想把检索条件传递到后台。
回复:您好,搜索条件可以通过Url进行传递,Asp.net MVC不同于Webform,没有ViewState,无法通过这个进行传递。

2009-11-18 10:58  weipeng

加下我QQ:370503443  RecordCount属性在哪呢
回复:您好,这个属性在VS的属性窗口中不会显示,需要在后台设置,这个属性设置不正确就无法正确分页,请参考一下示例项目的帮助文档中的说明。谢谢!

2009-11-18 09:59  郭

是否可以分别定义 上一页和下一页的样式呢!
回复:您好,不可以。

2009-11-18 08:53  自学

太好了,下载试下,关注你!
回复:谢谢支持!

2009-11-17 16:39  weipeng

今天解决了一天这个问题都没解决了,高手帮我下,愁死了,
回复:请看上一个问题的回复。谢谢!

2009-11-17 16:36  weipeng

前2天用的分页控件好好的,项目到了测试阶段了 测试昨天分页控件不显示出来了,但还是可以控制页数
回复:分页控件不显示一般是因为要分页的记录的总页数只有一页,如果您确认要分页的记录总页数大于一页而分页控件仍不显示,那么应该是RecordCount属性设置有问题,请检查。
;