//using System.Data.OleDb; string m_ConnectString = “Provider=Microsoft.ACE.OLEDB.12.0; Data Source=file_path.mdb;”; nosomovo
Thẻ:connection string
Mysql connection string in C#
string Connectionstring = “SERVER=” + m_Server + “; PORT=” + m_Port + “;” + ” DATABASE=” + m_Database + “;” + “UID=” + m_UserName + “;” + “PASSWORD=” + m_PassWord + “; CharSet=utf8; POOLING=TRUE;”; nosomovo
Excel connection string in C#
string ConnectionString = “Provider=Microsoft.ACE.OLEDB.12.0; Data Source=” + “filename” + “; Extended Properties=\”Excel 12.0\”;”; Nosomovo