From b022fef28620453067de4a31419df7c214bbc7a8 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 11 Jan 2015 17:14:28 +0000 Subject: [PATCH] removed SQL that would be changed anyway later, should make it faster --- Saviour Backup System/databaseTools.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Saviour Backup System/databaseTools.cs b/Saviour Backup System/databaseTools.cs index 8863530..f5f3c1e 100644 --- a/Saviour Backup System/databaseTools.cs +++ b/Saviour Backup System/databaseTools.cs @@ -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();