Why I can't use addCombobox function in my program?

Hi,everyone!This is my first time used Aspose.cells, so I have some questions...I looked the "Adding Combobox" demo and trid to use it in my program.I only downloaded Aspose.cells.dll for .net ,and added it to my .net project with "Imports Aspose.Cells" at top of program,but .net told me it didn't unsderstand "addCombobox" function ...

Please help me and give me suggestion how to use aspose.cells.dll...Thanks a lot!

Hi,

Well, the Shapes.AddComboBox function is there in the APIs provided by Aspose.Cells for .NET.

Please see the video tutorial (in which we have described how can you add/use different controls including ComboBox control) for your complete reference:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/working-with-controls-1.html

Also, check the demo to know how you can work with ComboBox for your reference:



Moreover, here is a document to work with different controls including ComboBox control:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/working-with-controls.html

Hopefully these will help you.

Thank you.

Thank you very much!I now a little more understand the Aspose.cells.I stilll want to know that could I add combo box to a cell such as "A3"?This combo box 's idems could come from a database?

Hope your reply!Thanks!

Hi,

Well, you cannot do this in direct way. You need to import the data from the database and fill the worksheet cells (you may use some API e.g Cells.ImportDatatable() method, see the document for reference: http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/importing-data-to-worksheets.html ) first, then you can use this dataset as the source range for the combobox items/values.

Thank you.