Free Support Forum - aspose.com

Style namespace?

Hello, I’m testing aspose.excel .
But I have errors when using Style.

What’s namespace must I use (unsing …)

I’ve done using aspose.excel and have add reference aspose.excel.

Please help.

What’s the error? Is it “‘Style’ is an ambiguous reference.”?

If yes, I think your program is a web application.

In a web application, VS.net cannot distinguish it from System.Web.UI.WebControls.Style class. You have to write your code like this:

[C#]
Aspose.Excel.Style styleObj;

[VB]
Dim styleObj as Aspose.Excel.Style