|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
DropDownList Selection from DataSet
<i><b>Originally posted by : John Diamantis (y.diamantis@altanet.gr)</b></i><br /><br />Hi, there.<br /><br />I have a problem here.<br /><br />I Bind a DropDownList from a DataSet's Table and everything seems to be working except the fact that I can not display the Selection that I want when I create it.<br /><br />Note: I declare the DropDownList, as follows<br /><br /><asp
ropDownList <br />id="Country" runat="server"<br />DataSource=<%#DataSet.Tables["Countries"].DefaultView%> <br />DataTextField="CountryNameGr" DataValueField="CountryCode"<br />SelectedItem="EN"></asp ropDownList> |
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : </b></i><br /><br /><br /><br />------------<br />John Diamantis at 10/24/2000 7:34:31 AM<br /><br /><br />Hi, there.<br /><br />I have a problem here.<br /><br />I Bind a DropDownList from a DataSet's Table and everything seems to be working except the fact that I can not display the Selection that I want when I create it.<br /><br />Note: I declare the DropDownList, as follows<br /><br /><asp
ropDownList <br />id="Country" runat="server"<br />DataSource=<%#DataSet.Tables["Countries"].DefaultView%> <br />DataTextField="CountryNameGr" DataValueField="CountryCode"<br />SelectedItem="EN"></asp ropDownList> |
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > DropDownList Selection from DataSet |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|