kannan s

kannan s

  • NA
  • 72
  • 0

How do convert datagrid.ItemsSource into IList .

Aug 21 2010 2:31 AM

Hi ,
How do convert datagrid.ItemsSource into IList .
Below my code. when i run the code it returns null value. but datagrid.ItemSource has some value. so how do convert into IList
 
IList source = datagrid.ItemsSource as IList;

Answers (1)