Вывод в Excel | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Вывод в Excel

Всем привет. Вообщем подключил я базу данных к visual studio и теперь надо чтобы при нажатии кнопки посчиталась количество строк в таблице и вывело результат в Excel. Можете подсказать код?

31st Jan 2018, 11:45 AM
Дмитрий
2 Answers
0
From google translate Output to Excel Hello.In general, I connected the database to visual studio and now it is necessary that when the button is pressed, the number of rows in the table is counted and the result is output in Excel.Can you tell me the code?
31st Jan 2018, 1:17 PM
sneeze
sneeze - avatar
0
You can use Microsoft interop object to create Excel file in c#. Have a look at this post https://www.sololearn.com/Discuss/511360/?ref=app
31st Jan 2018, 1:20 PM
sneeze
sneeze - avatar