narasimman g

narasimman g

  • 1.6k
  • 160
  • 352.7k

Cast ArrayList used in Gridview datasource to Datatable without loops

Jul 22 2011 1:23 AM
Dear All,

I would like to Cast Arraylist into datatable

Arraylist can be bound in Gridview and displayed in table format
why Gridview.Datasource is not convertable to Datatable
?

is there any easier way to convert collections into Datatable

i have thousands of records ..using loops wil not be good

Advanced thanks

Answers (7)