I need to insert each row of datatable into SQL table, however i could add whole table at once but i need to insert each row from that particular datatable in for each row. so how can i give expression for that? Insert activity is asking for Datatable as input.
Sorry i am not wrong, you want to validate the data and if that row is passed then you need to insert to SQL table.
If that is the case, you can put a condition in For each Row activity, put a if condition that if your condition satisfies, place a Execute Non query activity else place continue activity
@supermanPunch Hi,
Actually i used merge data table if it already has some data, for the first run i just directly write in a data table and inserted the merged data table. so that it will write all the rows into the data table and it will be inserted into the SQL table.