How To Show Data From a FeatureDataSet?!!

Topics: Algorithms, Data Access, General Topics, SharpMap Project, SharpMap v0.9 / v1.x, WinForms Controls
Apr 29, 2008 at 5:02 PM
I wanna show data on a MapImage control from a FeatureDataSet Table.
i wrote this code:
myLayer.DataSource = new SharpMap.Data.Providers.GeometryProvider(fds.Tables0); //my layer is a defined layer on my project & fds is a feature data set & it has data
myMap.Layers.Add(myLayer);//my map is a defined map on my project

mapImage1.Map = myMap;
& it is NOT working !