摘要: use testset nocount onif object_id('Dept','U') isnotnulldrop table Deptgocreate table Dept(ID int,ParentID int,Name varchar(20)) insert into Dept select 1,0,'AA' insert into Dept select 2,1,'BB' insert into Dept select 3,1,'CC' insert into Dept select 4,2,' 阅读全文
posted @ 2013-06-10 11:48 程序有Bug 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 首先添加命名空间和相关的代码,如下:using System.Runtime.InteropServices; [DllImport("winmm.dll", EntryPoint = "mciSendString", CharSet = CharSet.Auto)] private static extern int mciSendString( string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback ... 阅读全文
posted @ 2013-06-10 09:32 程序有Bug 阅读(486) 评论(0) 推荐(0) 编辑