[Mono-list] ByteFX MySql on Mono problem
Aleksandar Dezelin
dezelin32@fastmail.fm
Wed, 1 Sep 2004 10:30:31 +0200
On Wednesday 01 September 2004 10:47, Dan Cimpoiesu wrote:
> I use the following piece of code.
>
> ///
> Remoting.BackupDataSet data;
>
> data=new Remoting.BackupDataSet();
>
> String connectionString="Database=dionbackupserver;Data
> Source=192.168.90.2;User Id=root;Password=";
>
> String commandText="SELECT
> UserID,Name,Serial,DateIssued,DateStart,DateEnd,Trial,DiskSpace FROM
> users";
>
> MySqlDataAdapter adapter=new
> MySqlDataAdapter(commandText,connectionString);
>
> adapter.Fill(data.Users);
>
> MessageBox.Show(data.Users.Rows.Count.ToString());
>
> ///
>
> I use the ByteFX components for connecting to MySQL
>
>
>
> On windows these piece of code works ok.
>
> On linux with mono I get an Array index out of range exception on
> adapter.Fill
>
> Any suggestions?
>
>
>
> ---------------------------------------------------------------
> http://www.videomax.ro/ - Cautam cinefili pentru premiere!