I have access to a sharepoint list like so:
SPList countries = site.RootWeb.Lists["Countries"];
the list has a CountryCode column and a CountryName column
using linq how can i databind this as a datasource for a drop down
so that the “Value” is “CountryCode” and the “Text” is “CountryName”
If you do want to use LINQ instead of
GetDataTable():