Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
GridRecrodCollection to DataTable
posted

Hi,

I want to iterate the WebDataGrid.Rows collection and convert it into DataTable. I am using Infragistics V11.1 version.

example:

foreach(GridRecrod recrod in WebDataGrid1.Rows)

{

          DataRowView row=(DataRowView)record;

          DataRow r=row.Row;

}

I want to type cast GridRecord to DataRow which I am not able to do. 

So kindly help keeping in mind that I am using v11.1 and want to convert GridRecordCollection to DataTable.

Please help me with this

Thanks,

Manoj

Parents Reply Children
No Data