- 博客(7)
- 收藏
- 关注
原创 org.springframework.dao.DataIntegrityViolationException: -ORA-02291
org.springframework.dao.DataIntegrityViolationException:### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: 违反完整约束条件 (LIMS_U.FKReference_88) - 未找到父项关键字...
2019-03-28 10:27:31 2636
原创 asp.net 导出EXCEL 报错未包含 get_Range 的定义
using Excel; Application app = new Application(); if (app == null) { return; } app.Visible = false; app.UserControl = true; Workbooks workbooks = app.Workb
2011-04-20 09:52:00 2074
转载 LINQ TO SQL ——Group by
分组在SQL中应用的十分普遍,在查询,统计时都有可能会用到它。LINQ TO SQL中同样具备group的功能,这篇我来讲下LINQ TO SQL中关于group的用法。 说明: 1:group 不一定要用到多表查询中,单表查询也是可以的。 2:基本语法: 1>:group 分组后要取的字段或者是对象; 2>:by 分组对象,可以是一列也可以是多列; 3>:into 结果集对
2011-01-29 12:53:00 1935 2
转载 在VS2010中调用COM Interop DLL操作Excel通过get_Range去获取Range时,会发生Object does not contain a definition for get_Range的错误。其原因和解决方案
<br />Misha's explanation is correct - when using No PIA, methods returning object are treated as if they return dynamic in order to simulate the VBA semantics of COM Variants. Because the return value of sh.Cells is Object, sh.get_Range is dispatched dyna
2010-11-17 09:41:00 3537
原创 asp.net常用正则表达式大全
一、字段 表达式 格式示例 说明 数字 ^/D?(/d{3})/D?/D?(/d{3})/D?(/d{4})$ (425)-555-0123 425-555-0123 425 555 0123 验证美国电话号码。 名称 [a-zA-Z’`-′/s]{1,40} John DoeO’Dell 验证名称。最多允
2009-06-04 10:59:00 990
原创 按回车键后 自动登录
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://www.w3.org/1999/xhtml"> 无标题文档 function test(frm,event){ var event=window.event?window.event:event; if(event.keyCode==13){
2009-06-03 15:10:00 780
转载 JS 代码判断时间的有效性
//判断输入的日期是否正确function CheckDate(INDate){ if (INDate=="") { return true; } subYY=INDate.substr(0,4) if(isNaN(subYY) || subYY<=0) { return t
2009-05-27 11:06:00 614
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人