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

Usage of multiple resultsets?

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 30 Jan 2009, 03:14 PM
If a System.Data.SqlClient data source using stored procedure returns multiple resultsets, is it possible to use code to have different detail table use a different result set?

Right now I have defined separate resultset for each DetailTable.

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 02 Feb 2009, 04:32 PM
Hi Lenny_shp,

I am not exactly sure what your idea is, however note that you can assign different data source for your detail tables in hierarchy dynamically intercepting the DetailTableDataBind event of RadGrid as demonstrated here. Thus based on different result sets returned from your stored procedure, you can specify the sources for each level of the grid hierarchy independently based on your custom logic.

Regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Lenny_shp
Top achievements
Rank 2
Answers by
Sebastian
Telerik team
Share this question
or