会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ASP.NET(C#)
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2005年5月24日
winform调用ie
摘要: System.Diagnostics.Process.Start("IExplore.exe","http://www.sina.com.cn")
阅读全文
posted @ 2005-05-24 17:14 battlerstar
阅读(970)
评论(0)
推荐(0)
修改电脑的默认打印机
摘要: using System.Management; private ManagementObjectSearcher query; private ManagementObjectCollection queryCollection; string _classname="SELECT * FROM Win32_Printer"; query=new ManagementObjectSea...
阅读全文
posted @ 2005-05-24 17:14 battlerstar
阅读(845)
评论(1)
推荐(0)
生成文件时路径不存在
摘要: string strPath = @"C:/aaa/aaa/"; if (!Directory.Exists(strPath)) { Directory.CreateDirectory(strPath); }
阅读全文
posted @ 2005-05-24 14:02 battlerstar
阅读(608)
评论(0)
推荐(0)
C#文件操作
摘要: 转载:http://soft.yesky.com/SoftChannel/72342380468109312/20041117/1876614.shtml获取文件的版本信息: FileVersionInfo myFileVersionInfo1 = FileVersionInfo.GetVersionInfo("D:\\TEST.DLL");textBox1.Text="版本号: " + m...
阅读全文
posted @ 2005-05-24 10:12 battlerstar
阅读(6921)
评论(0)
推荐(0)
脑筋急转弯
摘要: 1.一个很胖的胖子从24楼跳下去会变成什么?(死胖子)2.小白加小白是什么? 小白兔(two)3.饺子是公的还是母的?公的,因为有包皮4.瞎子背着聋子过河,过到一半,聋子对瞎子说,河里有人洗澡,瞎子笑笑回答说,肯定是个女的,瞎子怎么知道是女的?因为他感觉后腰有东西突然顶了他5.一位妈妈搭计程车要去接国中的女儿。 母女两人经过某路段,只见一个个打扮妖艳的阻街女郎 开始站在路旁「做生意...
阅读全文
posted @ 2005-05-24 08:40 battlerstar
阅读(774)
评论(0)
推荐(0)
DataGrid 实现多选
摘要: -。 跨页面实现多选 ' NAME="chkSelect"/> ' runat="server" ID="TitleShow"/> ' runat="server" ID="Literal1"...
阅读全文
posted @ 2005-05-24 08:39 battlerstar
阅读(1872)
评论(0)
推荐(0)