In Data set first 5 rows come columns and one column value 0' next f rows same colmuns and column value 2 i want'to assign 0 row values into one table and 1 row values in anoother table or for loop i want to 0 values one table and 1 values in other table'bellow screen shot see
Data set row value 0 values assign to one table 1 values to assign
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jignesh KumarRank #91 · 22.9K reputationPosted Oct 14, 2022, 1:49 AM EDT
Hello,
You can query data set, please refer this one,
https://www.c-sharpcorner.com/blogs/using-linq-to-query-a-dataset
Insert into multiple table using c#, please refer this one,
https://www.c-sharpcorner.com/article/inserting-data-into-multiple-tables-in-mssql-at-once-in-net-affecting-multiple/