Hi,
i have foreach statement to get DataTable rows.
this is the table :
FID | Shape | Continent
0 | Polygon | Asia
1 | Polygon | Africa
2 | Polygon | Europ
this is the code to populate a TreeView with continents name :
foreach (DataRow drContinent in dtContinent.Rows)
{
string sContinentName = drContinent["continent"].ToString();
TreeNode nodeContinent = new TreeNode(sContinentName);
treeViewContinent.Nodes.Add(nodeContinent);
}
i want when user click on name of the continent on treeView
the continent information in gridView
...
Go to the complete details ...