[Mono-winforms-list] Mono and Binding Source

Ivan N. Zlatev contact at i-nz.net
Sun Dec 14 18:55:40 EST 2008


On Sun, Dec 14, 2008 at 9:59 PM, Miky13 <mike.gilblas at gmail.com> wrote:

>
> Hello,
>
> I have a problem with an executable which use DataBinding object... When I
> try to run it under my XUbuntu server (8.04 LTS) which have a mono runtime
> on it, I have an error :
>

> admlan at srv-ubuntu:~/sauvegarde$ mono sauvegarde.exe
>
> Unhandled Exception: System.NotImplementedException: The requested feature
> is not implemented.
>  at System.Windows.Forms.BindingSource.Add (System.Object value) [0x00000]
>  at Sauvegarde.MainForm..ctor () [0x00000]
>  at (wrapper remoting-invoke-with-check) Sauvegarde.MainForm:.ctor ()
>  at Sauvegarde.Program.Main (System.String[] args) [0x00000]
>
>
> Here is a sample of my C# code that generate the problem :
>
> public partial class MainForm : Form
> {
>    private BindingSource dossiers = new BindingSource();
>    [...]
>
>    // Constructeur
>    public MainForm()
>    {
>         [...]
>        // Init grid source
>        Dossier docinit = new Dossier("", "", 0, 0, "", "");  // Add a new
> object Dossier
>        this.dossiers.Add(docinit);
>    }
> }
>
> Here is the info about my mono version :
>
> admlan at srv-ubuntu:~/sauvegarde$ mono -V
> Mono JIT compiler version 1.9.1 (tarball)
> Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
>        TLS:           __thread
>        GC:            Included Boehm (with typed GC)
>        SIGSEGV:       normal
>        Notifications: epoll
>        Architecture:  x86
>        Disabled:      none
>
>
> What's wrong ? I read that DataBinding was implemented and the same
> application works fine under the MS .Net 3.5 framework... I surely have
> missed a thing but what ?
>  <http://lists.ximian.com/mailman/listinfo/mono-winforms-list>


Hi,

I believe that this got implemented and released as part of mono 2.x. In
addition for the past 2 weeks I have been fixing serious problems in the
DataBinding layer in things like the DataGridView, CurrencyManager,
BindingList, BindingSource. It's still not perfect but I hope I will have
some time during the next two weeks to hack on another batch of fixes. So
yeah if you can go for SVN HEAD instead of 2.x. And file bugs if you hit any
issues with SVN HEAD.

 --
Kind Regards,
Ivan N. Zlatev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20081214/953c173b/attachment.html 


More information about the Mono-winforms-list mailing list