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/oledb
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/oledb
parent3d7ed7612d1bd5e05d566821ff53b1fe1217a2f7 (diff)
update ADO.NET and provider web pages
svn path=/trunk/mono/; revision=19568
Diffstat (limited to 'web/oledb')
-rwxr-xr-xweb/oledb4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/oledb b/web/oledb
index caa032fd8bb..1dabe6244ed 100755
--- a/web/oledb
+++ b/web/oledb
@@ -109,8 +109,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);
}