removed SQL that would be changed anyway later, should make it faster
This commit is contained in:
parent
c04f90031b
commit
b022fef286
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ namespace Saviour_Backup_System
|
||||||
DataTable table = new DataTable();
|
DataTable table = new DataTable();
|
||||||
conn.Open();
|
conn.Open();
|
||||||
cmd.CommandText =
|
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)) {
|
using (SqlCeDataAdapter adapter = new SqlCeDataAdapter(cmd.CommandText, conn)) {
|
||||||
adapter.Fill(table);
|
adapter.Fill(table);
|
||||||
conn.Close();
|
conn.Close();
|
||||||
|
|
Reference in a new issue