How would I create and populate 10 Worksheets with SQL queries for each one, when form loads or other event using a Spreadsheet control with Ribbon?
Thanks,
3 Answers, 1 is accepted
0
Dimitar
Telerik team
answered on 20 Nov 2017, 09:39 AM
Hello Brian,
You need to create the workbooks in code and then you will be able to display them in RadSpredsheet. RadSpreadsheet operates with a rich document model that is completely decoupled from UI. Once you create a document with RadSpreadProcessing you will be easily able to show it in RadSpredsheet.
I hope this will be useful. Let me know if you have additional questions.
Do you have a sample of RadSpreadProcessing using SQL as the source? I do not see one in the demos, nor in the documentation.
Thanks,
0
Accepted
Dimitar
Telerik team
answered on 21 Nov 2017, 07:31 AM
Hello Brian,
We do not have exact such example. However, all you need to do is iterate and set the value of the cells. The example in the following blog shows this: Getting Started with RadSpreadProcessing Volume1.
Do not hesitate to contact us if you have other questions.