November 6, 2003
@ 02:01 AM

If you call your form like this:

formMyForm formModal = new formMyForm();
formModal.ShowDialog():

Make sure you properly dispose of it like this:

formModal.Dispose();

Bug Submitted By: David McCarter


 
Categories: Csharp | Compact Framework | Bugs

When I was putting data from a DataTable as shown in the code below:

DataView locationsView = new DataView(MyDataSet.Tables["locations"]);
locationsView.Sort = "name ASC";
lstLocations.ValueMember = "key";
lstLocations.DisplayMember = "name";
lstLocations.DataSource = locationsView;

I got a very strange result as seen below:

Once I set the Sorted property to False, it worked fine. Go figure.

Bug Submitted By: David McCarter


 
Categories: Bugs | Csharp | WinForms