2009年3月5日

enable Edit control

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Imports System.Text Imports System.Runtime.InteropServices _ Function IsWindowEnabled(ByVa... 阅读全文

posted @ 2009-03-05 17:08 笑看风云淡 阅读(238) 评论(0) 推荐(0) 编辑

获取句柄类名

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> _ Private Sub GetClassName(ByVal hWnd As System.IntPtr, _ ByVal lpClassName As System.Te... 阅读全文

posted @ 2009-03-05 16:50 笑看风云淡 阅读(315) 评论(0) 推荐(0) 编辑

获取一个窗体所以控件句柄

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Imports System.Text Imports System.Runtime.InteropServices Module Module1 _ Private F... 阅读全文

posted @ 2009-03-05 15:38 笑看风云淡 阅读(577) 评论(0) 推荐(0) 编辑

2009年2月18日

在.net framework2.0环境下使用.net framework3.5中的类

摘要: 思路是将用到的.net framework3.5中的类打包到安装包中,然后只要安装.net framework2.0就可以了 具体操作: 点击项目显示所以文件,然后选择所使用到的.net framework3.5下的类,在属性中将“复制到本地”设置为TRUE,这样编译以后这些类都复制到输出文件夹了。 制作安装包的时候选上这些文件就可以了。 在制作安装包的时候只要在系统必备选择.ne... 阅读全文

posted @ 2009-02-18 11:57 笑看风云淡 阅读(1294) 评论(5) 推荐(0) 编辑

2009年2月6日

收藏链接

摘要: C# to VB.NET http://authors.aspalliance.com/aldotnet/examples/translate.aspx /http://www.kamalpatel.net/ConvertCSharp2VB.aspxhttp://sourceforge.net/http://www.codeplex.com/http://www.codeproject.com/http://www.pinvoke.net/API学习http://blog.csdn.net/zjcxc/archive/2006/09/10/1202876.aspx SSIS学习http://s 阅读全文

posted @ 2009-02-06 10:57 笑看风云淡 阅读(233) 评论(0) 推荐(0) 编辑

2009年2月5日

vb.net LINQ TO XML读写XML

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1Imports System.Linq 2Imports System.Xml.Linq 3 4Public Class xmlDemoClass xmlDemo 5 Pu... 阅读全文

posted @ 2009-02-05 11:54 笑看风云淡 阅读(1031) 评论(0) 推荐(0) 编辑

2008年12月23日

对象的动态赋值

摘要: 最近在做项目中做了个动态给对象赋值的功能,这样就避免了每个对象的属性都要一一复制。 原理很简单,传一个DATAREADER,根据字段名称,取类的属性,若存在则将字段值赋值与它。 以下贴上代码,如有不妥,欢迎大家指正,或给出更好的建议。 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.... 阅读全文

posted @ 2008-12-23 14:01 笑看风云淡 阅读(662) 评论(0) 推荐(0) 编辑

2008年12月19日

LINQ动态条件查询

摘要: 最近了解了点LINQ,感觉蛮有意思的,用起来很舒服。 现在把动态条件心得拿出来和大家分享一下 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Dim l As New List(Of Object) l.Add(Ne... 阅读全文

posted @ 2008-12-19 15:49 笑看风云淡 阅读(517) 评论(0) 推荐(0) 编辑

2008年12月15日

mssql中获取表的备注和字段的备注

摘要: use test-- go select [表名]=c.Name, [表说明]=isnull(f.[value],''), [列名]=a.Name, [列序号]=a.Column_id, [标志]=case when is_identity=1 then '√' else '' end, [主键]=case when exists(select ... 阅读全文

posted @ 2008-12-15 11:06 笑看风云淡 阅读(970) 评论(0) 推荐(0) 编辑

2008年12月5日

LINQ TO XML 修改 app.config

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 'Get the file info Dim config As System.Configuration.Configuration = Configur... 阅读全文

posted @ 2008-12-05 17:02 笑看风云淡 阅读(484) 评论(0) 推荐(0) 编辑

导航