上一页 1 ··· 7 8 9 10 11 12 13 14 下一页
摘要: border=0> 阅读全文
posted @ 2007-11-26 17:34 Fernando 阅读(479) 评论(0) 推荐(0) 编辑
摘要: ' Visible=''> 阅读全文
posted @ 2007-11-26 17:30 Fernando 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 前台添加一模版列,里面添加一个Button 后台 protected void gv_Company_RowCo... 阅读全文
posted @ 2007-11-22 18:47 Fernando 阅读(7707) 评论(3) 推荐(1) 编辑
摘要: Download Demo Project - 80 Kb Introduction The Calendar control becomes an essential control for business application developments since the most of data entry forms used to have one or more fi... 阅读全文
posted @ 2007-11-22 12:48 Fernando 阅读(783) 评论(1) 推荐(0) 编辑
摘要: 问题一:当带有参数查询时,例如:select * from user where userID=@userID出错; 解决方案: 如果正在使用 Access 版的 Northwind,则请使用问号替换 @City 参数。 (SELECT CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, Postal... 阅读全文
posted @ 2007-11-20 14:19 Fernando 阅读(525) 评论(0) 推荐(0) 编辑
摘要: HttpContext.Current.Request.Url.ToString() 并不可靠。 如果当前URL为 http://localhost/search.aspx?user=http://csharp.xdowns.com&tag=%BC%BC%CA%F5 通过HttpContext.Current.Request.Url.ToString()获取到的却是 http://lo... 阅读全文
posted @ 2007-11-19 18:04 Fernando 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 在ASP.NET 2.0中操作数据:使用FormView 的模板 英文原版 | 本教程的代码(C#) | 翻译目录 | 原文目录 导言 在上两节教程中,我们看到了如何使用TemplateField来自定义GridView和DetailsView的输入。TemplateField使我们可以高度自主的定义某个特定的列,但不管是GridView还是DetailsView,都... 阅读全文
posted @ 2007-11-09 18:54 Fernando 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 例如: select count(*) from 理论上返回:int类型的数字一个 但是实际上IDE自动生成代码有时候会是: ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" 但应该是: ScalarCallRetval="Sy... 阅读全文
posted @ 2007-11-09 10:12 Fernando 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 下载代码示例 | 下载PDF格式英文教程 导言 分页和排序是在WEB应用程序中展现数据常见的功能。比如,当我们在一个网上书店搜索ASP.NET书籍的时候,可能有几百本相关书籍,但是我们只希望每页显示10条有效记录。而且,我们还希望结果能根据标题、价格、页数和作者等等来进行排序。过去的23个教程中我们研究了如何建立各种报表,包括在界面上添加编辑和删除数据。但是我们没有研究如何对数据进行排序,对于分页... 阅读全文
posted @ 2007-11-08 18:46 Fernando 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 原文 | 下载本教程中的编码例子 | 下载本教程的PDF版 导言 如我们在之前的教程里讨论的那样,分页可以通过两种方法来实现: 默认分页– 你仅仅只用选中data Web control的 智能标签的Enable Paging ; 然而,当你浏览页面的时候,虽然你看到的只是一小部分数据,ObjectDataSource 还是会每次都读取所有数据 自定义分页– 通过只从数据库... 阅读全文
posted @ 2007-11-08 18:44 Fernando 阅读(584) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页