"a Datatable named 'table' already belongs to this dataset" is the error I am getting in a message box on my page. Here is the scenario of what is going on. I am saving the users grouped columns in my database. Upon reentering the page I pull from the database and regroup the grid using the stored values. Example of stored value: Balance Type|balance_type - First item is the name I use to display and the second is the actual field name that we want to group on. This works beautifully. They can save this and renter the grid and the settings is there. BUT!!! When the user selects to change the grid page size is when it generates the above error. I cannot determine where this is happening or why.
I am using needdatasource to bind my data from the SQL server and settting the grids settings after I populate the grid. I only get the settings from the database on the first load of the page because I don't want to stomp on the users changes every time they do something that might cause a postback to the page, that would be annoying.
So any ideas on what this is or why it is happening would be greatly appreciated.
I am using needdatasource to bind my data from the SQL server and settting the grids settings after I populate the grid. I only get the settings from the database on the first load of the page because I don't want to stomp on the users changes every time they do something that might cause a postback to the page, that would be annoying.
So any ideas on what this is or why it is happening would be greatly appreciated.