上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: c#操作excel后关闭excel.exe的方法 1。网上的一种说法,关闭range,关闭worksheet,关闭workbook,最后关闭excelSystem.Runtime.InteropServices.Marshal.ReleaseComObject(Range); 2System.Runtime.InteropServices.Marshal.ReleaseComObject(myBo... 阅读全文
posted @ 2010-08-28 09:35 Wind·e 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: 输出表名:注:把下面存储过程写入想查询的数据库存储过程中,然后在查询分析器中运行exec Full_Search '123'。CREATEproc Full_Search(@string varchar(50)) as begin declare @tbname varchar(50) declare tbroy cursor for select name from sysobjects whe... 阅读全文
posted @ 2010-02-25 13:55 Wind·e 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 查询一个字段的部分字符后加入部分字符if object_id('[原字段内容]') is not null drop table [原字段内容]gocreate table [原字段内容]([col1] varchar(29))insert [原字段内容]--select 'C-马鞍山-市区-导航处[9]' union all--select 'B-马鞍山-市区-网络大学[87]' union a... 阅读全文
posted @ 2009-09-04 16:17 Wind·e 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 试一下Activated事件中加语句Me.SendToBack() 阅读全文
posted @ 2009-06-18 16:05 Wind·e 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 文字加密跟解密加密后的文字长度跟解密后的文字長度都是一样 对于要塞入资料库的话会很方便,這支程式是用class写的可以建置成元件来使用 因为可以建置成元件所以就不用可以转成C#語法了...只要建置好VB.net or C#都可以用了 原始码(將档案放在App_Code里) EverEncode.vb 01 Imports ...Microsoft.VisualBasic02 03 Public ... 阅读全文
posted @ 2009-04-20 11:37 Wind·e 阅读(1034) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页