N
nagar
My application connects to a SQLite db and gets a number of fields
which are displayed in a list though a typed dataset.
I need to manually update an unbound column (which contains the index
of the picture, which is not stored in the DB) whose content is
decided by my application logic.
I've tried cycling though the rows
foreach (DatasetCommands.CommandsRow r in dsCommands.Commands.Rows)
r.ImageIndex = 1;
but the line that that actually sets the data is very slot. It takes
more than 30 seconds for updating about 4000 rows.
What's the proper way to do it?
Thanks.
Andrea
which are displayed in a list though a typed dataset.
I need to manually update an unbound column (which contains the index
of the picture, which is not stored in the DB) whose content is
decided by my application logic.
I've tried cycling though the rows
foreach (DatasetCommands.CommandsRow r in dsCommands.Commands.Rows)
r.ImageIndex = 1;
but the line that that actually sets the data is very slot. It takes
more than 30 seconds for updating about 4000 rows.
What's the proper way to do it?
Thanks.
Andrea