开发者

Importing mpp file into SQL Server through ASP.NET?

I have an assignment which is to import mpp file into database via ASP.NET (C#). Can anyone pleas开发者_如何学Goe advice me on this matter. Any help is very much appreciated.

Thanks.


Depending on the situation, using Interop isn't necessarily a good choice (have to have Project installed on the machine).

You can use MPXJ to open the mpp file and read the information in it. It's free and open-source and works fairly well, though since it's a port from Java, you have to do some things in a Java way in your .NET code.

A paid option is ASPOSE.Tasks, which is a little nicer to use, but pretty expensive.


Project programmability is available in C# but docs are only available for VBA.

This should get you going - all the stuff that is available in VBA can be accessed from C# using the Project Primary Interop Assembly from the list here.

Check out Application.FileSaveAs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜