I have this code:
DataRow[] wingsBookingInterfaceRows =_uc090_WingsIntegrationDataSet.WingsBookingInterface.Select("WingsYDossierID =" +refmDossierId);
I need the results of that to overwrite this datatable
_uc090_WingsIntegrationDataSet.WingsBookingInterface
because I need to iterate over the .Rows collectio开发者_开发百科n
thanks
Try this out:
DataTable table = new DataTable();
DataTable newTable = table.Select("<SELECT QUERY>").CopyToDataTable();
you can iterate through the DataRow[] wingsBookingInterfaceRows
already with a foreach.
精彩评论