在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
************************************在Global.asax中如下************************ <%@ Import Namespace="System.Data.SqlClient" %> protected void Application_Start(Object sender, EventArgs e)//当前应用程序启动这件事会发生 //SqlConnection con = new SqlConnection(); //con.ConnectionString = ConfigurationManager.ConnectionStrings["TongJiConnectionString"].ConnectionString;
protected void Session_End(Object sender, EventArgs e) //SqlConnection con = new SqlConnection(); //con.ConnectionString = ConfigurationManager.ConnectionStrings["TongJiConnectionString"].ConnectionString;
private void Page_Load(object sender, System.EventArgs e)
} |
请发表评论