Forum Discussion

mkalluri's avatar
mkalluri
New Contributor II
3 years ago

Binding data to GridView dashboard component in a dashboard extender business rule

I was looking for a  way to bind a .net list object to a gridview instead of using DataAdapters. Any examples in this direction are appreciated.

  • mkalluri,

    The grid will need a datatable so all you will need to do is convert your list to a datatable. The data adapter that you define for the grid will be of type Method and Method Type = Business Rule. You then create a Dashboard Data Set rule (commonly called Helper Queries) that returns the intended DataTable object.

  • Cosimo's avatar
    Cosimo
    Contributor II

    mkalluri,

    The grid will need a datatable so all you will need to do is convert your list to a datatable. The data adapter that you define for the grid will be of type Method and Method Type = Business Rule. You then create a Dashboard Data Set rule (commonly called Helper Queries) that returns the intended DataTable object.