Computer Science, asked by ganeshghadge, 1 month ago

How to print data in excel with c# console application​

Answers

Answered by afsana620ali
0

Answer:

Reading the Excel File

private static void ReadExcelFile()

{

Console.BackgroundColor = ConsoleColor.DarkBlue;

Console.WriteLine("\nReading the Excel File..." ...

Console.BackgroundColor = ConsoleColor.Black;

Excel.Application xlApp = new Excel.Application();

Excel.Workbook xlWorkBook = xlApp.Workbooks.Open(filePath);

Similar questions