2007-05-30 Chris Toshok <toshok@ximian.com>
[mono.git] / web / tdsclient
index 56629335caf93368be29a7cdadae09129d2efc78..2c58aea698f10ae8c6222e894ffb5005163eece4 100755 (executable)
@@ -18,8 +18,6 @@
        
        <li>Uses TDS Protocol Version 4.2 by default</li>
        
-       <li>Does not support trusted connections</li>
-       
        <li>Bugs with Mono or the data provider should be reported 
        in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>.  If you
        do not have Bugzilla user account, it is free 
        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);
        }