上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: public class MyRichTextbox : RichTextBox { protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if ((keyData == (Keys.Control | Keys.Enter))) ... 阅读全文
posted @ 2008-06-23 20:06 白沙河 阅读(300) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Threading; namespace ... 阅读全文
posted @ 2008-05-07 11:48 白沙河 阅读(283) 评论(0) 推荐(0) 编辑
摘要: SQLSERVER 自带的数据导入工具有两点不好: 1. 数据库复制,会复制所有表的所有数据,有的大表没有必要导,不好控制 2. 数据导入,当表中有IDENTITY限制时,只能一个一个表去设定取消,导入后再设置回去 今天写了一段SQL,来执行部分表的数据导入 用到了一些知识点: 1. 建立链接服务器 2. 设置IDENTITY列的可插入属性 3. 带参数的游标 建立链接服务器 EXEC sp... 阅读全文
posted @ 2008-05-06 16:59 白沙河 阅读(783) 评论(1) 推荐(0) 编辑
摘要: from:http://lwlzyjl.cnblogs.com/ 方法一: CREATE TABLE #tabTmp(id int) INSERT #tabTmp EXECUTE('SELECT id FROM '+@TableName) declare curOne cursor for SELECT id ... 阅读全文
posted @ 2008-05-06 16:24 白沙河 阅读(1465) 评论(0) 推荐(1) 编辑
摘要: powerdesigner安装后: C:"Program Files"Sybase"PowerDesigner 12"Add-ins"Microsoft Word Import Export 下的 WordToRqm.dot自动加载到word Normal.dot中,还死活去不掉。只能采取注册表隐含了: 运行regedit.exe 打开注册表编辑器,定位到:HKEY_CURRENT_USER"So... 阅读全文
posted @ 2008-04-29 14:09 白沙河 阅读(1698) 评论(12) 推荐(0) 编辑
摘要: SQLSERVER2005 建立链接服务器 用系统存储过程 exec sp_addlinkedserver 'ITSV', '', 'SQLOLEDB', '192.168.1.2\sql2005' // 链接服务器名称,驱动,目标服务器ip及实例名称(用默认的话就不需要写\sql2005了) exec sp_addlinkedsrvlogin 'ITSV', ... 阅读全文
posted @ 2008-04-20 11:53 白沙河 阅读(2216) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication10 { ... 阅读全文
posted @ 2008-04-10 19:52 白沙河 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 无法向会话状态服务器发出会话状态请求 错误的解决方法 FROM:http://hi.baidu.com/tomyu/blog/item/836470f49bca73daf2d385ef.html 2007-09-11 14:14 今天单位的办公系统出现发下错 错误如下: 异常详细信息: System.Web.HttpException: 无法向会话状态服务器发出会话状态请... 阅读全文
posted @ 2008-04-08 17:37 白沙河 阅读(824) 评论(0) 推荐(0) 编辑
摘要: oracle和sqlserver互訪! from:http://www.itpub.net/535786.html 前几天由於工作的原因查找了oracle中查找sqlserver數据的資料,現測試成功,整理一下貼出! 要求:從Oracle中能取SqlServer的數据 環境: OracleDb: Linux + Oracle9i Enterprise Edition Releas... 阅读全文
posted @ 2008-04-01 19:11 白沙河 阅读(398) 评论(0) 推荐(0) 编辑
摘要: private void txtmoney_KeyPress(object sender, KeyPressEventArgs e) { if ((e.KeyChar >= 48 && e.KeyChar <= 57) || e.KeyChar == 46 || e.KeyChar == 8) { re... 阅读全文
posted @ 2008-03-28 15:57 白沙河 阅读(676) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页