This is a migrated thread and some comments may be shown as answers.

RadGuage : How to set needle from SQL Data

1 Answer 63 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Samir Pandey
Top achievements
Rank 1
Samir Pandey asked on 24 Dec 2010, 03:06 AM
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.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Accepted
Bartholomeo Rocca
Top achievements
Rank 1
answered on 27 Dec 2010, 06:06 PM
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/.


Greetings,
Bart.
Tags
Gauge
Asked by
Samir Pandey
Top achievements
Rank 1
Answers by
Bartholomeo Rocca
Top achievements
Rank 1
Share this question
or