[Mono-winforms-list] Mono and Binding Source

Miky13 mike.gilblas at gmail.com
Sun Dec 14 16:59:33 EST 2008


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 ?

Thanks by advance !

Mike
-- 
View this message in context: http://www.nabble.com/Mono-and-Binding-Source-tp20955549p20955549.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list