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.




Amit MohantyRank #112 · 20K reputationPosted Jan 27, 2020, 5:19 AM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jan 25, 2020, 7:08 AM EST
Priyanka SinghRank #1,215 · 1.5K reputationPosted Jan 25, 2020, 7:12 AM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jan 25, 2020, 7:31 AM EST
Priyanka SinghRank #1,215 · 1.5K reputationPosted Jan 25, 2020, 8:16 AM EST