faraz akram

faraz akram

  • NA
  • 129
  • 0

Asynchronic Dataset calls

Jan 2 2010 9:02 AM

hi,
i have some problem (delay) in filling tableadapter.
when i fill the adapter it takes lil bit time to fill the adapter and then diplaying rows on datagrid in  for examle.
tableadapter.fill(dataset1.datatable)
datagridview1.datasource=tableadapterbindingsource;
the code above take arround 10 sec to fill <1000 rows because once it complete with retrievel then the whole datset display on grid.
i need a piece of code for asynchronic call for fill method so that as soon as its start fatching rows from table same starts displaying on grid with a row counter and same can be stopped any time during retrievel.
thanks in advance
fazy
 

Answers (1)