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/sqlclient | |
parent | 3d7ed7612d1bd5e05d566821ff53b1fe1217a2f7 (diff) |
update ADO.NET and provider web pages
svn path=/trunk/mono/; revision=19568
Diffstat (limited to 'web/sqlclient')
-rwxr-xr-x | web/sqlclient | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/sqlclient b/web/sqlclient index 1cce85fd09b..d17f4695593 100755 --- a/web/sqlclient +++ b/web/sqlclient @@ -172,8 +172,8 @@ dbcmd.CommandText = sql; IDataReader reader = dbcmd.ExecuteReader(); while(reader.Read()) { - string FirstName = reader["fname"]; - string LastName = reader["lname"]; + string FirstName = (string) reader["fname"]; + string LastName = (string) reader["lname"]; Console.WriteLine("Name: " + FirstName + " " + LastName); } |