7
Answers

How to check particular table in datatable in c#

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.
  1. private void generateResult_paid(DataTable dt, IXLWorksheet worksheet, string sheetname)  
  2. {  
  3.     if(table1  of dataset)    
  4.         lineNum = 11;    
  5.     else    
  6.         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.
Answers (7)