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

retrieving dataset of radgrid to a dataset

1 Answer 19 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Priya
Top achievements
Rank 1
Priya asked on 27 Aug 2008, 10:50 AM
Sir,
radgrid.datasource=ds
is ok

But hw to perform the reverse ie,
ds=radgrid.datasource

Thanks in advane

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Aug 2008, 06:09 AM
Hi Priya,

Check out the following code to achieve the required result
cs:
 protected void RadGrid1_PreRender1(object sender, EventArgs e) 
        { 
            DataSet ds = (DataSet)RadGrid1.DataSource; 
        } 
 

Thanks
Princy.
Tags
Grid
Asked by
Priya
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or