diff options
Diffstat (limited to 'kurier/MySQL.cs')
-rw-r--r-- | kurier/MySQL.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kurier/MySQL.cs b/kurier/MySQL.cs index cafb5c8..81a3a0b 100644 --- a/kurier/MySQL.cs +++ b/kurier/MySQL.cs @@ -61,6 +61,12 @@ namespace kurier return ""; } + public MySqlDataReader select(string query) + { + MySqlCommand comm = new MySqlCommand(query, conn); + return comm.ExecuteReader(); + } + public static string getHost() { return Properties.Settings.Default.HOST; } public static string getUser() { return Properties.Settings.Default.USER; } public static string getPass() { return Properties.Settings.Default.PASS; } |