First apologies as there are similar questions on this site, but none of them answer this problem directly.
Im using typed datasets in VS 2010. I create a TableAdapt
@Joe is right.
Or you can use foreach loop to do that.
Something like:
int[] arr = new int[3]; arr[0] = "1"; arr[1] = "2"; arr[2] = "3"; foreach(vat data in arr) { //Do your Code here // var MyDatatable = obj.GetDatabyID(data); TableAdapter.Fill(MyDataTable); }
Regards