Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
How to connect database?
posted

Hello,

I have a question about Ignite UI - jQuery Controls.
If I want to connect database (Microsoft SQL Server) to create the chart. What should I do?

For example, the graph below, this is what I wish.

Thank you
Best Regards,
Sulada

Parents
No Data
Reply
  • 8421
    posted

    Hello Sulada,

    What you would need to do is implement some way of passing the data from your server to the client. How exactly you go about this depends on your application requirements. For example, one approach you could take is to use Microsoft Entity Framework to establish the connection to your SQL data base. You could then pass that information to the client through the use of a WebAPI service, setting DataSource or DataSourceUrl property of your chart to the URL for your service.

    The Ignite UI controls are not able to interact with your database directly but require that you develop some sort of go between to pass the data to them. If you have any questions or concerns about this matter please let me know.

Children
No Data