Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2003-03-03 01:54:56 +0300
committerMiguel de Icaza <miguel@gnome.org>2003-03-03 01:54:56 +0300
commitc4c409cc204ef6c2b55e94ca85ed212fd3b0ff39 (patch)
tree9a1d61a2815e06eb31279e94fae3295b5ca530d0 /web
parentc15b0b5e011fac33a8cd504b4d6253ad7baf4e65 (diff)
flush
svn path=/trunk/mono/; revision=12109
Diffstat (limited to 'web')
-rwxr-xr-xweb/mysql4
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);
}