Hi,
DataRegistrazione.Text,
getMagazzino(),
Oggetto.Text,
ArticoliColli.Text,
Lotto.Text,
Ubicazione.Text,
MagDest,
UbiDest,
d,
getOperatore(),
"");
// refresh TableAdapter...
age51TableAdapter1.FillByMovimentoOperatore(MobileDataSet.Age51,
TipoMovimento.ToString(),
DataRegistrazione.Text,
getOperatore());
This is my first week with C# and dot net, so sorry if my question seems trivial....
I have a datagrid, I collect data and I do an Insert by an adapter:
age51TableAdapter1.Insert(TipoMovimento.ToString(),
DataRegistrazione.Text,
getMagazzino(),
Oggetto.Text,
ArticoliColli.Text,
Lotto.Text,
Ubicazione.Text,
MagDest,
UbiDest,
d,
getOperatore(),
"");
After that, I must re-fill the table to see the new row.
// refresh TableAdapter...
age51TableAdapter1.FillByMovimentoOperatore(MobileDataSet.Age51,
TipoMovimento.ToString(),
DataRegistrazione.Text,
getOperatore());
(both method are query that I made using the wizard)
The problem is that after 20-30 rows, the application start to be very slow... Probably this is not the correct way to do this...
Some soggestion?
Thaks a lot
Alberto