vcon = new OleDbConnection(@"Provider=Microsoft.SQLSERVER.CE.OLEDB.3.5;Data Source=" + Controller.DBPath); public DataTable GetReporters() { vcon.Open(); using (DataTable table = new DataTable()) { using (OleDbDataAdapter da = new OleDbDataAdapter(Select * from Reporters, vcon)) { da.Fill(table); } vcon.Close(); return table; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)