[Mono-list] Problem with a web serivce method.

Jonathan Stowe jns@gellyfish.com
Mon, 23 Aug 2004 15:43:03 +0100


On Mon, 2004-08-23 at 15:08, beniniva@csr.unibo.it wrote:
> Isql is an utility of unixODBC
> 

Er yes, but I meant a c# example that run at the console and not a
webservice.

It will probably be enough to do just:

using System;
using System.Data;

class Foo
{
    public static void Main()
    {
       	OdbcConnection conn = new         
OdbcConnection("DRIVER=MySQL;SERVER=localhost;DATABASE=tdmio;UID=root;PASSWORD=rootpwd;");

	conn.Open();
     }
}