Get specific data from a query done using ria services


  • Hi all,

    I am fairly new to Silverlight and RIA services, and I am trying to build a small project to better understand it.

    So I am using RIA services to get some data from a DB and with the help of the tutorials, etc. from the this website I was able to put the data in a datagrid, but not more than that... I am searching, reading and reading but i still don't find the answer I need, so I came here. So this is what I want to do:

    1) I want to get the number of rows affected by the query and put this value in a variable.

    2) I want to build a chart with the values of 2 columns from the table. For example, I have a table of employees with the column "Name" and "WorkHours" and I want to build a chart with the "Name" in the X axis and the "WorkHours" in the Y axis.

    Can anybody give me some advice or point me to some tutorials on how I can achieve?

    Thanks a lot for your help.

    Tuesday, October 19, 2010 12:44 PM