svn path=/trunk/mcs/; revision=68915
[mono.git] / web / sybase
index e917534873523bb05a5e2c3bf28c0216f63a9020..85deca1a67cd8afd5c38660f407d40e5db0d6f81 100755 (executable)
@@ -17,8 +17,6 @@
        <li>Requires the assembly Mono.Data.Tds.dll which implements the TDS protocol in 100% C#.</li>
        
        <li>Uses TDS Protocol Version 5.0</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
        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);
        }