1
Fork 0

removed SQL that would be changed anyway later, should make it faster

This commit is contained in:
Jake Howard 2015-01-11 17:14:28 +00:00
parent c04f90031b
commit b022fef286
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ namespace Saviour_Backup_System
DataTable table = new DataTable();
conn.Open();
cmd.CommandText =
"SELECT Recordset.Name as Backup_Name, Recordset.Creation_Date, Recordset.Backup_Location, Drive.Name, Drive.Capacity FROM Recordset, Drive";
"SELECT Recordset.Name, Recordset.Creation_Date, Recordset.Backup_Location, Drive.Name, Drive.Capacity FROM Recordset, Drive";
using (SqlCeDataAdapter adapter = new SqlCeDataAdapter(cmd.CommandText, conn)) {
adapter.Fill(table);
conn.Close();