hi
when i use sqldatasource to bind every thing is ok.
but when ia am using this code to bind my data grid to data source in(q2 2009 sp1)
after click on btn_filter my datagrid fills by data,
but when i change order of columns or try to group my data table by drag & drop columns to grouping area,
my table claened and need to click filter button again.
how i can solve my problem?
when i use sqldatasource to bind every thing is ok.
but when ia am using this code to bind my data grid to data source in(q2 2009 sp1)
protected void btn_Filter_Click(object sender, EventArgs e) |
{ |
ds_Reports.sp_DataTable tbl = new ds_Reports.sp_DataTable(); |
ds_ReportsTableAdapters.ta_Select ta = new ds_ReportsTableAdapters.ta_Select(); |
int c = ta.Fill(tbl); |
RadGrid1.DataSource = tbl; |
RadGrid1.DataBind(); |
} |
but when i change order of columns or try to group my data table by drag & drop columns to grouping area,
my table claened and need to click filter button again.
how i can solve my problem?