摘要:
此程序可以实现系统拨号找到系统的拨号设置,然后再拨号成功后,显示拨号状态,非原创,用C#移植了一下,原文参见CodeProject中关于Web 实现拨号的文章。下面是拨号需要用到的文件,一个RAS自定义类,添加到工程文件中就可用,C#的代码://////////////////// using System;using System.Runtime.InteropServices;using S... 阅读全文
posted @ 2009-07-03 14:59
liufei
阅读(995)
评论(1)
推荐(0)
摘要:
SqlConnection conn=new SqlConnection("server=(local);database=Hotelsystem;user id=sa;password=sa;");SqlDataAdapter da=new SqlDataAdapter("select Dic_Code,Dic_Name from Dic_District",conn);DataSet ds=n... 阅读全文
posted @ 2009-07-03 13:25
liufei
阅读(4702)
评论(0)
推荐(0)