M
Maya
Hello,
I have a dataset i need to insert new datarow in if the row is new and
doesn't exist in the dataset, other wise i will only need to update the
existing row.
for example, dataset with "ID" and "Name" fields can have a new row
added if the row's ID is not already in the dataset.
Any idea what the most efficient way (light performance) is to achieve
this task? maybe using "foreach" would do the job but i think this
wouldn't be very efficient as this operation needs to be done every
couple of seconds and requires fast execution time.
Thanks,
Maya.
I have a dataset i need to insert new datarow in if the row is new and
doesn't exist in the dataset, other wise i will only need to update the
existing row.
for example, dataset with "ID" and "Name" fields can have a new row
added if the row's ID is not already in the dataset.
Any idea what the most efficient way (light performance) is to achieve
this task? maybe using "foreach" would do the job but i think this
wouldn't be very efficient as this operation needs to be done every
couple of seconds and requires fast execution time.
Thanks,
Maya.