OleDbConnection xsconn = new OleDbConnection(); xsconn.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0; Data source=D:\\mail.accdb"; xsconn.Open(); string qto = "SELECT [NAMES] FROM " + var_name + " WHERE [STATUS]='to'"; OleDbDataAdapter da = new OleDbDataAdapter(qto, xsconn); DataSet ds = new DataSet(); da.Fill(ds);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)