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/mysql
diff options
context:
space:
mode:
authorDaniel Morgan <monodanmorg@yahoo.com>2003-11-03 09:27:02 +0300
committerDaniel Morgan <monodanmorg@yahoo.com>2003-11-03 09:27:02 +0300
commit3570fe498f7ebabafe6baf6e26e2a035d1df0d54 (patch)
tree88707c21002e142b88944815e202ba15ef3a4e5c /web/mysql
parent3d7ed7612d1bd5e05d566821ff53b1fe1217a2f7 (diff)
update ADO.NET and provider web pages
svn path=/trunk/mono/; revision=19568
Diffstat (limited to 'web/mysql')
-rwxr-xr-xweb/mysql4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/mysql b/web/mysql
index 7b0a4d5811b..169aae5bae3 100755
--- a/web/mysql
+++ b/web/mysql
@@ -283,8 +283,8 @@ mono TestExample.exe
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);
}