摘要:
光驱弹出与关闭using System.Runtime.InteropServices ;[DllImport("winmm.dll")]public static extern int mciSendString(string s1,string s2,int i1,int i2);private void button1_Click(object sender, System.EventArgs e) {mciSendString ("set cdaudio door open","",0,0);}private void but 阅读全文
摘要:
在MSDN看了MS的ASP.NET 2.0 中的异步页文章,其中试了一下运行效果。发觉其根本没有达到界面效果(异步功能是实现了).http://www.microsoft.com/china/msdn/library/webservices/asp.net/issuesWickedCodetoc.mspx数据访问代码如下.using System;using System.Data;using System.Data.SqlClient;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Syst 阅读全文