views:

10

answers:

0

I am trying to bind a Generic List collection of type string to dataGrid instance and always the data grid displays column titled with length and list the length of each element not the elemnt it self I am developing Device Application (smartphone application ) using Windows mobile SDK Professional edition and Visual Studio 2008 SP1 professional edition I searched more and more for the answer and the best of I can found similar to mine except one at code project to use bindingSource instance that give the same result the follwing is the code needs your attention and thank you in advance

 BindingSource cv = new BindingSource();
 cv.DataSource = animals;

 dataGrid1.DataSource = cv;