Access connection string in C#
//using System.Data.OleDb; string m_ConnectString = “Provider=Microsoft.ACE.OLEDB.12.0; Data Source=file_path.mdb;”; nosomovo
//using System.Data.OleDb; string m_ConnectString = “Provider=Microsoft.ACE.OLEDB.12.0; Data Source=file_path.mdb;”; nosomovo
string Connectionstring = “SERVER=” + m_Server + “; PORT=” + m_Port + “;” + ” DATABASE=” + m_Database + “;” + “UID=” + m_UserName + “;” + “PASSWORD=” + m_PassWord + “; CharSet=utf8; POOLING=TRUE;”; nosomovo
string ConnectionString = “Provider=Microsoft.ACE.OLEDB.12.0; Data Source=” + “filename” + “; Extended Properties=\”Excel 12.0\”;”; Nosomovo
Bản quyền © 2024 | Theme WordPress viết bởi MH Themes