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

2 stored proc bind a single grid

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 08 Aug 2011, 03:05 AM
hi

I have 2 stored proc and i need to bind the result of 2 Proc into a single Radgrid. How should i go about it? thanks

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 08 Aug 2011, 06:12 AM
Hello L,

You can create one business entity class and store both sp's result on this then bind those entity list to RadGrid.

or

You can also bind one sp result to Radgrid and other sp's result bind in Itemdatabound event. (Note : store other sp result in ViewState and with linq query filter. so you should avoid every time database trip.)


if you not understand my point then let me know i will upload code here.


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
L
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or