1
Answer

How do convert datagrid.ItemsSource into IList .

Ask a question
kannan s

kannan s

14y
5.7k
1

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)