Hi,
And, for your complete reference, I think
firstly you should check the release notes for different official versions of
Aspose.Cells for .NET (especially v5.0.0 and 5.1.0 etc.).
http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/entry243604.aspx
http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/entry248967.aspx
Note:
Check the description under "Notable Changes for Existing Users" for
API changes.
For
Workbook.Open and Workbook.Save methods warning messages, please see the
documents for your reference:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/opening-files.html
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/saving-files.html
Moreover,
please check the documentation of the product for complete details:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/programmers-guide.html
Let me
come towards your significant errors that you may encounter, so you can fix
them accordingly:
1) You
need to import the relevant namesapaces to your demo pages or use fully
qualified naming when declaring objects for classes etc.:
e.g
using
System;
using
System.Web;
using
Aspose.Cells;
using
Aspose.Cells.Pivot;
etc.
2) As I
said above, some classes are renamed. e.g
i)
Validations --> ValidationCollection
ii)
PivotTable --> PivotTableCollection
etc.
3)
Aspose.Cells.Style property is eliminated/obsoleted now, you should adjust your
code to use Aspose.Cells.GetStyle() and Aspose.Cells.SetStyle() methods, it
will also enhance the performance to certain extent:
e.g
Your sample
code using Style attribute should be updated accordingly, e.g
Style style
= wsNdaa.Cells[0, 0].GetStyle();
style.Font.IsBold = true;
wsNdaa.Cells[0, 0].SetStyle(style);
Styyle
style2 = cells["I1"].GetStyle();
style2.HorizontalAlignment = TextAlignmentType.Center;
style2.BackgroundColor = System.Drawing.Color.Navy;
style2.Font.IsBold = true;
cells["I1"].SetStyle(style2);
For
complete reference about Cell.GetStyle/SetStyle approach, please see the
documents in the section:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/working-with-data-formatting.html
4) Please check Aspose.Cells for .NET API
Reference:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/aspose.cells-for-.net-api-reference1.html