I am not able to read data in Excel. Here is the code I am using:
using Excel = Microsoft.Office.Interop.Excel; Excel
I found the solution for above, here is the code:
string temp = (string)(xlRange.Cells[i, j] as Excel.Range).Value2; MessageBox.Show(temp);