上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 方法1: for (int i = 0; i ");//行集合.行【号】列【名】 } 方法2 : foreach (DataRow dr2 in dt.Rows) { Response.Write(dr2["kjny"].ToString() + ""); } 阅读全文
posted @ 2009-04-10 21:23 小贱 阅读(244) 评论(0) 推荐(0) 编辑
摘要: //ASP.NET中的DataList和Repeater提供了简单快速的方法來显示,其间,我们可以使用更是使我们能随心所欲的控制数据的排放样式!//.可惜的是它们不像Datagrid那样,有内置的分页功能。////如何解决呢?////其实我们可以用【PagedDataSource】 类来解决分页的问题。////PagedDataSource类的属性://////DataSource -数据源/... 阅读全文
posted @ 2009-04-10 21:21 小贱 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 一 什么是uniqueidentifier? Uniqqueidentifier 是全局唯一的标识 二 UniqueIdentifier 数据类型的列如何赋值? 1 使用 NewID()函数 来实现 2 直接将字符串的常量转化成这样的格式 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 举例:6F9619FF-8B86-D0... 阅读全文
posted @ 2009-04-08 20:18 小贱 阅读(1748) 评论(0) 推荐(0) 编辑
摘要: profile配置http://www.cnblogs.com/lxinxuan/archive/2007/01/16/621492.aspx profile实现购物车和匿名转移http://www.cnblogs.com/Rogerliu/archive/2008/08/30/1279847.html 阅读全文
posted @ 2009-04-08 18:09 小贱 阅读(165) 评论(0) 推荐(0) 编辑
摘要: hashtable 下面的示例说明如何对 Hashtable 创建、初始化并执行各种函数以及如何打印出其键和值 Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Collectio... 阅读全文
posted @ 2009-04-08 13:35 小贱 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 这几天闲来无事,就在园子里找前辈们关于ASP.NET站点导航的东西,找了好半天,不过颇有收获,呵呵!但是我想先把我自己看到的关于ASP.NET站点导航控件的知识摘抄下来,以备后用: 您可以使用 ASP.NET 站点导航功能为用户导航站点提供一致的方法。随着站点内容的增加以及您在站点内来回移动网页,管理所有的链接可能会变得比较困难。ASP.NET 站点导航使您能够将指向所有页面的链接存储在一个... 阅读全文
posted @ 2009-04-06 19:11 小贱 阅读(2244) 评论(0) 推荐(0) 编辑
摘要: 外键alter table tablenameadd constraint FK_****_**** foreign key(外键名) references 外键表(外键名) 阅读全文
posted @ 2009-04-05 22:18 小贱 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 今天同事在把一个Web项目从 Web Site 升级成 Web Application 应用后部署的时候,报错: Server Error in '/' Application. -------------------------------------------------------------------------------- Parser Error Description: An... 阅读全文
posted @ 2009-04-05 18:59 小贱 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 在深入进行.Net框架下的XML文档的操作之前,我想很有必要向大家介绍.Net框架中与XML技术有关的命名空间和其中一些重要的类。.Net 框架为我们提供了以下一些命名空间:System.Xml、System.Xml.Schema、System.Xml.Serialization、 System.Xml.Xpath以及 System.Xml.Xsl来包容和XML操作相关的类。 ◆System.... 阅读全文
posted @ 2009-04-03 16:32 小贱 阅读(362) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Collections.Generic; using System.Text; using System.Xml; using S... 阅读全文
posted @ 2009-04-03 15:01 小贱 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页