Suppose I have values in the dataset, I have to use it using the data table and I have to check and apply the condition in table1 of the dataset using a data table.
- private void generateResult_paid(DataTable dt, IXLWorksheet worksheet, string sheetname)
- {
- if(table1 of dataset)
- lineNum = 11;
- else
- lineNum = 1;
- }
I have to used value in the data table, not in the data set.
How I get table1 of the dataset using a data table.