ie421.NET

面对技术,你别无选择,.NET世界是如此精彩,而我们要做的就是:Thinking More

博客园 首页 新随笔 联系 订阅 管理

2008年7月25日 #

摘要: ===BLL========================================= public IList GetItemsByProduct(string productId) { // Validate input if(string.IsNullOrEmpty(productI... 阅读全文
posted @ 2008-07-25 21:42 ie421 阅读(209) 评论(0) 推荐(0) 编辑

摘要: Net3.0一些新特性 阅读全文
posted @ 2008-07-25 20:12 ie421 阅读(209) 评论(0) 推荐(0) 编辑

摘要: http://www.opent.cn 作者:浪淘沙 阅读全文
posted @ 2008-07-25 14:44 ie421 阅读(385) 评论(0) 推荐(0) 编辑

摘要: 1、Guid.NewGuid().ToString("N") 结果为: 38bddf48f43c48588e0d78761eaa1ce6 2、Guid.NewGuid().ToString("D") 结果为: 57d99d89-caab-482a-a0e9-a0a803eed3ba 3、Guid.NewGuid().ToString("B") 结果为: {09f140d5-af72-44ba-a763-c861304b46f8} 4、Guid.NewGuid().ToString("P") 结果为: (778406c2-efff-4262-ab03-70a77d09c2b5) 可见默认的为第2种效果 阅读全文
posted @ 2008-07-25 13:45 ie421 阅读(1682) 评论(0) 推荐(0) 编辑

摘要: How to check the FileUpload control on Client code(Brower) First the FileUpload control is support Validator control so we can use RegularExpressionValidator, CustomerValidator, because we can't set Ignore case property on Regular Expression Validator , so i like use CustomerValidator to check the Extension. The code on below, you can copy the code block to your page, and add one CustomerValidator 阅读全文
posted @ 2008-07-25 13:08 ie421 阅读(300) 评论(0) 推荐(0) 编辑

摘要: 验证dropdownlist的方法 在网上找不到我想要验证dropdownlist的方法, 所以想了N久,才想到这个方法, ControlToValidate = 要验证的dropdownlist Type = 要验证的字符类型 (我的这里是验证字符串) ValueToCompare = ... 阅读全文
posted @ 2008-07-25 12:57 ie421 阅读(395) 评论(1) 推荐(0) 编辑