To all,
I don't know if I'm missing something here or what, but I'm using C# in VS.NET 2003. I have an MdiChild form that is opened that contains a DataGrid control with 4 columns. I manually create and populate a DataSet and DataTable and set the DataSource property of the DataGrid to the appropriate DataTable.
I have the 4 columns mapped to four of the fields within the DataTable. This grid allows editing. However, if I do something as simple as begin typing into the first column's text box to insert a new column and then click the "x" on the upper right-hand corner of the form, no exception is thrown, but I get an error dialog telling me that it cannot access the disposed member DataGridTextBox.
I should also point out that as soon as I tab off the first column, and click the "x", everything works fine.
What am I missing here? I know this can't be the correct behavior and I know there must be a step or two (maybe more) that I'm missing, but for the life of me, I can't figure it out.
TIA,
Travis
Travis Vandersypen