Loading

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 39 下一页
摘要: 为什么要使用FindByValue而不使用SelectedValue???  假设this.DropDownList1.SelectedValue == "1",即选择的是b。若传入的值为"A” 使用FindByValue则this.DropDownList1.SelectedValue还是等于“1”,即还是选择的是第二项没有改变。(操作者以为是传入正确的... 阅读全文
posted @ 2010-09-16 00:17 .net's 阅读(393) 评论(0) 推荐(0)
摘要: 翻译原文:How to Implement Email Verification for New Members 你是否曾经在一个网站上创建一个帐户,并要求验证你的email及发送该邮件的一个验证链接 来激活你的帐号?这样做将大大减少垃圾邮件帐户。在这篇课程中,我们将学习怎么做这件事。 我们将打算创建什么? 我们将在用户创建帐号获得访问成员部分的站点中创建一个友好的PHP注册脚本。 在用户创建... 阅读全文
posted @ 2010-09-15 08:31 .net's 阅读(904) 评论(0) 推荐(0)
摘要: CakePHP是PHP的一个开源框架,其目的是为了开发,部署以及维护应用程序更容易。CakePHP 提供很多有用的设计模式,比如Model-View-Controller模式,还有一个比较著名的框架 Ruby On Rails。CakePHP也提供了大量有价值的可重用库,用来处理共同的任务。“Inflector” 就是一个例子。 这个向导尝试着指引你朝正确的方向去开始使用CakePHP并最终在开发... 阅读全文
posted @ 2010-09-14 20:52 .net's 阅读(686) 评论(0) 推荐(0)
摘要: 开场白表结构的准备Table: CustomerCustomerId: int, auto-increment PKFirstname: varchar50, nullableLastname: varchar50, nullableCREATE TABLE [dbo].[Customer]( [CustomerId] [int] IDENTITY(1,1) NOT NULL, [Firstname] [varchar](50) NULL, [Lastname] [varchar](50) NULL, CONSTRAINT [PK_Customer] PRIMARY KEY CLUSTERED 阅读全文
posted @ 2010-08-28 15:23 .net's 阅读(1284) 评论(0) 推荐(0)
摘要: asp.net验证控件被不合法的注释掉引起的js错误。 阅读全文
posted @ 2010-08-26 15:25 .net's 阅读(619) 评论(0) 推荐(0)
摘要: 摘要:使用HQL返回自定义类型的结果集。 前提:已经定义好Customer类及其Nhibernate映射文件xml。 表结构及数据 自定义类 Mapping文件 条件查询(Criteria Query) 输出SQL 说明CustomerFirstnameCounter中的Count属性必须定义为long类型,如果定义为int类型,则会报如下错误: 阅读全文
posted @ 2010-08-25 21:32 .net's 阅读(1055) 评论(4) 推荐(0)
摘要: In Solution Explorer, under Solution Items, double-click the test settings file, Local.testsettings.       The Test Settings dialog box is displayed. Select <Local machine ... 阅读全文
posted @ 2010-08-22 10:13 .net's 阅读(1275) 评论(0) 推荐(0)
摘要: 方式一:方式二:Product类所在的程序集 阅读全文
posted @ 2010-08-19 08:38 .net's 阅读(265) 评论(0) 推荐(0)
摘要: http://oss.org.cn/ossdocs/framework/hibernate/reference-v3_zh-cn/http://nhforge.org/doc/nh/en/index.html 阅读全文
posted @ 2010-08-18 14:35 .net's 阅读(517) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2010-08-15 18:09 .net's 阅读(306) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 39 下一页