Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
Combining ProgressBarInfo and DataSet filling status ?
posted

Hi all !

How can I combine the DataSet filling status with the ProgressBarInfo ?

The progress bar should display the curently loaded number of rows into the DataSet while loading the complete result of a query into the DataSet.

I have tried some code with DataTables event handler for adding new rows

	// Add a TableNewRow event handler.
table.TableNewRow += new
DataTableNewRowEventHandler(Table_NewRow);

but the event will be never raised when filling a table via TableAdapter. 

I have also tried event handlers for the TableAdapter with the same result.

Any hint or idea is very welcome !

Thanks in advance ! 

Kinds regard,

Claus 

  • 54937
    Offline posted

    This isn't really related to the UltraProgressBar/ProgressBarInfo so you might try posting this question on the ms newsgroups relating to the data access. The TableNewRow event is only fired when a new row is inserted (i.e. using NewRow) but filling is not considered adding a new row - maybe one of the other datatable events could be used instead (e.g. RowChanged).