-1

I am working with windows form and through a dialog window with event "OpenFileDialog.OpenFile" but I have a problem since I try to read a Microsoft Project file with extension ".mpp"

Once the file is selected, it is my intention that the data within the ".mpp" file can be added to a DataSet or, failing that, stored in a SQL Server database

In if the question is: Can the data from an .mpp file be passed to a DataSet or database of SQL Server data?

Either option leaves me

Thanks for the help

Reza Aghaei
  • 120,393
  • 18
  • 203
  • 398
Morquecho
  • 37
  • 1
  • 8

2 Answers2

1

there is open source lib (GNU License) , that will help you to read mpp file in C#

Nuget : https://www.nuget.org/packages/net.sf.mpxj-for-csharp/

Source code :https://github.com/joniles/mpxj

divyang4481
  • 1,584
  • 16
  • 32
0

.MPP is a complex file format and you need a specific software to parse such files.

There are only two libraries that can reasonably parse MPP files:

  • One is open-source MPXJ under GNU License.
  • Another is proprietary Aspose.Tasks. You can check how it works using free Aspose.Tasks web-app which is completely based on Aspose.Tasks.dll
DmitryP
  • 11
  • 4