diff options
author | Miguel de Icaza <miguel@gnome.org> | 2003-03-03 01:54:56 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2003-03-03 01:54:56 +0300 |
commit | c4c409cc204ef6c2b55e94ca85ed212fd3b0ff39 (patch) | |
tree | 9a1d61a2815e06eb31279e94fae3295b5ca530d0 /web | |
parent | c15b0b5e011fac33a8cd504b4d6253ad7baf4e65 (diff) |
flush
svn path=/trunk/mono/; revision=12109
Diffstat (limited to 'web')
-rwxr-xr-x | web/mysql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/mysql b/web/mysql index 5505086e9d5..56c5f112950 100755 --- a/web/mysql +++ b/web/mysql @@ -190,8 +190,8 @@ dbcmd.CommandText = sql; IDataReader reader = dbcmd.ExecuteReader(); while(reader.Read()) { - string FirstName = reader["firstname"]; - string LastName = reader["lastname"]; + string FirstName = (string) reader["firstname"]; + string LastName = (string) reader["lastname"]; Console.WriteLine("Name: " + FirstName + " " + LastName); } |