[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
http://bugzilla.novell.com/show_bug.cgi?id=554296
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:1.9.1.5)
Gecko/20091106 Mandriva Linux/1.9.1.5-0.1mdv2010.0 (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();
DS1.Tables.Add("Table1");
DataSet DS2 = new DataSet();
DS2.Tables.Add("Table2");
DV.DataSource = DS1;
DV.DataMember = "Table1";
DV.DataSource = DS2;
DV.DataMember = "Table2";//Cannot come here with Mono, it crash
Actual Results:
Crash
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