[Mono-bugs] [Bug 554296] New: DataGridView DataSource and DataMember are not synchro

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 10 15:53:28 EST 2009


           Summary: DataGridView DataSource and DataMember are not synchro
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: surfzoid2002 at yahoo.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:
Gecko/20091106 Mandriva Linux/ (2010.0) Firefox/3.5.5

When you set the DataSource of an DataGridView with a DataSet and the
DataMenber to an existing Table and then set again the DataSource with another
DataSet who don't have an Table with the same name/ same DataMember,  Mono
crash and say it can't find the first Member Name.
Microsfoft seem release the DataMember if the DataSource change.

Reproducible: Always

Steps to Reproduce:

            DataGridView DV = new DataGridView();

            DataSet DS1 = new DataSet();


            DataSet DS2 = new DataSet();


            DV.DataSource = DS1;

            DV.DataMember = "Table1";

            DV.DataSource = DS2;

            DV.DataMember = "Table2";//Cannot come here with Mono, it crash
Actual Results:  

Expected Results:  
No crash

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list