用VS2008打开链接数据库sql server2005异常,用于开发移动终端 C#

来源:互联网 发布:东大网络教育 编辑:程序博客网 时间:2024/06/05 23:02
栈代码:
位于 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, TdsParserState state)
位于 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
位于 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
位于 System.Data.SqlClient.TdsParser.Connect(String host, SqlInternalConnection connHandler, Int32 timeout)
位于 System.Data.SqlClient.SqlInternalConnection.OpenAndLogin()
位于 System.Data.SqlClient.SqlInternalConnection..ctor(SqlConnection connection, Hashtable connectionOptions)
位于 System.Data.SqlClient.SqlConnection.Open()
位于 MobliePhone.DBhelper.OpenConnection()
位于 MobliePhone.form2.btn_add_Click(Object sender, EventArgs e)
位于 System.Windows.Forms.Control.OnClick(EventArgs e)
位于 System.Windows.Forms.Button.OnClick(EventArgs e)
位于 System.Windows.Forms.ButtonBase.WnProc(WM wm, Int32 wParam, Int32 lParam)
位于 System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
位于 Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
位于 System.Windows.Forms.Application.Run(Form fm)
位于 MobliePhone.Program.Main()
0 0
原创粉丝点击