Assign DataView with DataTable very slow
-
hay all, i currently have the problem while assigning a dataview with a filled table the first time. ok, in short: in a winform a have a dataview, a typed dataset and a combobox. the combobox's datsource is the dataview. the dataview's table is a table of the dataset. on startup of the application an other dataset of the same type will be filled with data. after showing the form i assign the dataview's table with a table of the preloaded dataset. doing this the first time this takes about 30 seconds !!! if i do it a second time it works fine. i tryed to set the "dataview.table = nothing" before assiging it with the filled table but no changes happend. if i run the command in the commandview of vs it works also fine. it's the same behaviour if the code runs the normal way or i run it by single step. any idea? tnx, bernd if you need code snippes, let me know