first you must download the installer extension for vs 2017
here :
its .vsix jusst double click and install, restart your VS2017
then follow this
Creating an MSI Package for C# Windows Application Using a Visual Studio Setup Project
ლ(ಠ_ಠლ)
first you must download the installer extension for vs 2017
here :
its .vsix jusst double click and install, restart your VS2017
then follow this
Creating an MSI Package for C# Windows Application Using a Visual Studio Setup Project
so yeah, i was somehow successful exporting excel usnig openxml sdk and closexml. (not sure). but when i was going to export some large database about 700k++ dataset, the memory just off the chart then it failed. so theres a solution to this by using opemxmlwriter by writing direcly to file rather than storing data in cache then export those data. credits to the author mikes heres the link.
http://mikesknowledgebase.com/pages/CSharp/ExportToExcel.htm
so you know, theres a way to store your aplication configuration such as database connection, and any other setting for your app. you can use .ini or app.config. the thing is because UAC on windows, things may fail. so yeah. but try it anyways.
https://www.c-sharpcorner.com/article/four-ways-to-read-configuration-setting-in-c-sharp/
oh yeah and save dialog
https://stackoverflow.com/questions/5136254/saving-file-using-savefiledialog-in-c-sharp
https://stackoverflow.com/questions/180330/obtain-file-path-of-c-sharp-save-dialog-box
Ok, jadi saya coba belajar lagi tentang C# dan database. Lumayan muter2 bagi saya apalagi mau nya cuman instant, satu tutorial mencakup dari ambil data dari database sampai export ke excel. Saya belum nemu tutorial yang cocok (karena keterbatasan ilmu pemrograman saya). sepp lanjut. saya bikin tutorial? belum ntar kapan2
https://stackoverflow.com/questions/11811143/export-datatable-to-excel-with-open-xml-sdk-in-c-sharp
http://www.technetexperts.com/web/export-data-to-excel-using-openxml-sdk/
How to create an Excel file in .NET using OpenXML – Part 1: Basics
so theres another solution by using openxml library, we can use another library called CloseXML to ease our code.
https://www.codeproject.com/Tips/1107815/Export-an-Excel-File-using-ClosedXML
https://github.com/closedxml/closedxml/wiki/Adding-DataSet
ok lanjut
C# Visual Studio 2017. There are 2 ways (three or more way using library). to export or create excel files in C#.
like my any other posts there isnt any tutorial in it, just link to another page or site. why? i learn from it, you should too.
How to create an Excel file in .NET using OpenXML – Part 1: Basics
so if you knew somethinig about C# but its been so long from the last time you wrote a code and need a refreshment from basic but not that basic, heres a link to youtube channel … a lil bit slow but nonetheless a useful one. credit : @programmingknowledge