asp.net链接SQL SERVER数据库问题
using System;using System.Data.SqlClient;
namespace _111
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
SqlConnection MyCNN = new SqlConnection();
MyCNN.ConnectionString = "user id=sa;password=mis@123;" + "initial catalog=cbhr;data source=QI-QIN\\SQLEXPRESS.master.dbo;Connect Timeout=30";
MyCNN.Open();
}
}
}
运行出来没有反应是怎么回事