Loading

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 39 下一页
摘要: 发现文件名少了hbm.错误类型:1,检查hbm.xml文件2,检查hibernate.cfg.xml是否配置mapping 如:<mapping assembly=”Ordering.Data”/>3, 检查Role.hbm.xml文件属性“生成操作”的值,从“内容”修改为“嵌入的资源” 阅读全文
posted @ 2010-08-15 17:08 .net's 阅读(812) 评论(0) 推荐(1)
摘要: /** 去掉字符串前后空格*/String.prototype.trim = function () { var reExtraSpace = /^\s*(.*?)\s*$/; return this.replace(reExtraSpace, "$1"); };/** 验证日期*/function checkDateTime(input){ input = String(input).trim(... 阅读全文
posted @ 2010-08-12 13:40 .net's 阅读(278) 评论(0) 推荐(0)
摘要: method 1: method 2: behind-code 阅读全文
posted @ 2010-08-01 12:21 .net's 阅读(474) 评论(0) 推荐(0)
摘要: 将DataSet转换为xml时,若DataSet某一列全部为dbnull时,方法1不会丢失该列,方法2会丢失该列。方法1:using (StringWriter sw = new StringWriter()) { ds.WriteXml(sw, XmlWriteMode.WriteSchema); ReturnXml = sw.ToString(); return ReturnXml; }方法2... 阅读全文
posted @ 2010-07-29 16:23 .net's 阅读(462) 评论(0) 推荐(0)
摘要: 系统环境:windows XP开发环境:WebService: Visual studio 2005web application: Visual studio 2003vs2003的web程序调用vs2005的webservice.调试步骤:1,在vs2005项目的同一解决方案中添加一个测试网站2,在该测试网站中添加WebService引用,此时会产生一个vs的Web服务器3,在vs2003项目... 阅读全文
posted @ 2010-07-21 16:55 .net's 阅读(1410) 评论(0) 推荐(0)
摘要: http://mattberseth.com/blog/2007/12/creating_a_google_suggest_styl.html 阅读全文
posted @ 2010-07-08 08:10 .net's 阅读(355) 评论(0) 推荐(0)
摘要: from: TheBeerHouse 阅读全文
posted @ 2010-06-27 20:45 .net's 阅读(515) 评论(0) 推荐(0)
摘要: We perform a browser detection because IE and Netscape have different event models. The function finally returns false so that the keypress event is cancelled (otherwise a second form submit will be r... 阅读全文
posted @ 2010-06-26 11:05 .net's 阅读(420) 评论(0) 推荐(0)
摘要: string JavaScriptStringEncode(string value){ if (string.IsNullOrEmpty(value)) { return string.Empty; } StringBuilder builder = null; int startIndex = 0; int count = 0; for (int i = 0; i < value.Len... 阅读全文
posted @ 2010-06-19 20:39 .net's 阅读(812) 评论(0) 推荐(0)
摘要: Warning! To enable guidelines, you’ll need to modify your registry settings. Follow the instructions below at your own risk. Enabling Guidelines First, shut down Visual Studio 2005 if already starte... 阅读全文
posted @ 2010-06-13 18:42 .net's 阅读(548) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 39 下一页