RadGuage : How to set needle from SQL Data

2 posts, 1 answers
  1. Samir Pandey
    Samir Pandey avatar
    2 posts
    Member since:
    Oct 2004

    Posted 23 Dec 2010 Link to this post

    Trying to create a silverlight application using RadGauge. I need to set all the values and create multiple rangelists using data from SQL.

    How do I pass the dataset values to the Gauge control class? Believe we can't use ADO/SQL in Gauge control class or Silverlight app.

  2. Answer
    Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 27 Dec 2010 Link to this post

    Hello Samir,

    You need to pass the data retrieved from the SQL server to the Value property of the Needle instance.

    As for the actual db connection -- you will probably need to use dataservice-oriented approach instead of ADO. Check the following link to get you started with the paradigm: http://www.silverlight.net/getstarted/riaservices/.

Back to Top