I have a dropdown list that is being populated by an object datasource (.net 2.0)
The problem is that the datavaluefield is dependent on the user's language, so I need a way to get either a public value from the .vb page, or at a function or something, but nothing seems to work.
Basically if the public variable strLang = e then I want strDescE and if strLang = f then I want strDescF. Is there a way to do this with the new datasourceid field already set???
<asp:DropDownList ID="ddlDistrict" DataSourceID="ObjectDataSourceDistrict" runat="server" DataTextField="intDistrictcd" DataValueField="strDescE" AutoPostBack="True" >