It seams that you are using some custom colors and not the standard colors like Red, Green, Black, Blue, White, Yellow. Just for a test, Could you use these colors to format the background fill / foreground colors of the header rows and then run your code to produce the excel file.
Well, I have checked your code a bit, it seams fine to me. Related setting colors i just want you to set headers color with standard colors in the template file using MS Excel (Opening the template file in MS Excel). Actually I want you to do this for color lost issue.
I have attached a test project which works fine here, The zip file which contains .asp file, Northwind1.mdb and a template excel file. I extract some fields from Employees table and process the smart markers to fill data into the sheet. Please check the template file for specifying how to place multivalued variables markers first and explore the code and then make your own solution (template file + code (.asp file)) based on this test project.
For deployment, you need to put .asp and Northwind1.mdb files into.....Inetpub\wwwrooot\ folder. Open the brower and write url: `http://localhost/filldata.asp`. And also put the template file mbook1.xls into ....d:\test\ folder or change into the .asp file code.
Actually I had crossed checked the files that I had sent you for review.
Sorry for this. But I will be sending you the new files in few minutes. Kindly check the same and let me know what can be done for the possible solution.
Sorry! I am wrong. I think you will set dataset or datatable as data source. Amjad told me there is not such classes and only array as data source. Now i know you why you use "&=$oRsBudget.name" as smarter marker. But we do not support "numeric" option for single Variable and MultiVariable. We will support it soon. Thanks for your patience.
Please let me know what do you mean by we do not support 'numeric' for single Variable and Multivariable.Do you mean that my issue cannot be solved by ASPOSE team in the current scenario or if that is not the case let me know what is the possible solution to my issue at the current state.
Please help me on this. Please reply ASAP as this urgent.
Well, please don't bother! your issue is quite simple and can be performed. Warren means to say in Classic Asp, there is no direct way to utilize the dataset or datatable (.NET) objects which is demanded by the one version of WorkbookDesigner.SetDataSource() method to provide it as a datasource. In Classic Asp, we have only Recordset object which can be used to manipulate database data using some scripting language like vb script. The sample solution which I have posted in my previous post, please check it first, check the template file which describes how you can place smart markers (multi-valued variables array.....e.g., &=$MyField1). Also check the code in .asp file which will express how will you write code. Please run my solution too to get the work done. So, you may create your own solution based on this.
Alternatively, I think you may create a .NET Wrapper class to utilize all the APIs of Aspose.Cells. You may call this wrapper class in .asp file using vbscript.
I have already tried adding 'numeric' to my smart markers. but this does not seem to work. As also pointed previously that 'nnumeric' is not supported.