代码:
string strConn = "Data Source=" + sDbpath + ";Password=SZTL";
m_Conn = new SqlCeConnection(strConn);
m_Conn.Open();
异常:
未处理 System.Data.SqlServerCe.SqlCeException
Message="Unspecified error"
HResult=-2147467259
NativeError=25033
Source="SQL Server 2005 Mobile Edition ADO.NET Data Provider"
StackTrace:
at System.Data.SqlServerCe.SqlCeConnection.ProcessResults()
at System.Data.SqlServerCe.SqlCeConnection.Open()
at System.Data.SqlServerCe.SqlCeConnection.Open()
at YSD8.frmmain..ctor()
at YSD8.Program.Main()