diff options
author | Daniel Morgan <monodanmorg@yahoo.com> | 2003-11-03 09:27:02 +0300 |
---|---|---|
committer | Daniel Morgan <monodanmorg@yahoo.com> | 2003-11-03 09:27:02 +0300 |
commit | 3570fe498f7ebabafe6baf6e26e2a035d1df0d54 (patch) | |
tree | 88707c21002e142b88944815e202ba15ef3a4e5c /web/mysql | |
parent | 3d7ed7612d1bd5e05d566821ff53b1fe1217a2f7 (diff) |
update ADO.NET and provider web pages
svn path=/trunk/mono/; revision=19568
Diffstat (limited to 'web/mysql')
-rwxr-xr-x | web/mysql | 4 |
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); } |