摘要:
最近在做research项目,和高手学了不少东西。。呵呵,分享一下。。 在返回值不确定的情况下使用范型。。Convert.ChangeType 方法 (Object, Type)返回具有指定Type 而且其值等效于指定对象的object。CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicstaticclassTestGenerics{publicstaticTGetValue<T>(stringname){str 阅读全文
posted @ 2009-07-23 23:18
Denny_Guo
阅读(450)
评论(0)
推荐(0)
摘要:
winform程序,在发布时往往需要更改数据库连接字符串,而数据库采用附加的方式配置数据库连接字符串,可以使用VS2005的配置界面来处理引用C:\Program Files\Microsoft Visual Studio 8\Common7\IDE 里面的Microsoft.Data.ConnectionUI.Dialog.dll。CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1usingMicrosoft.Data.Connec 阅读全文
posted @ 2009-07-23 23:04
Denny_Guo
阅读(622)
评论(0)
推荐(0)

浙公网安备 33010602011771号