Hi,
The below code is my dropdownlist code now my requirement is i want to add another technologies like sap,oracle into dropdownlist on runtime
ex:
String th="Oracle";
ddlTech.Text=th ;
like that if i given like this means it showing some error
<asp:DropDownLi st ID="ddlTech" runat="server" AutoPostBack="T rue" OnSelectedIndex Changed="ddlTec h_SelectedIndex Changed" Font-Names="Verdana" Font-Size="8pt">
<asp:ListItem >--Select--</asp:ListItem>
<asp:ListItem>. Net</asp:ListItem>
<asp:ListItem>J ava</asp:ListItem>
<asp:ListItem>T esting</asp:ListItem>
<asp:ListItem>O ther</asp:ListItem>
</asp:DropDownLis t>
The below code is my dropdownlist code now my requirement is i want to add another technologies like sap,oracle into dropdownlist on runtime
ex:
String th="Oracle";
ddlTech.Text=th ;
like that if i given like this means it showing some error
<asp:DropDownLi st ID="ddlTech" runat="server" AutoPostBack="T rue" OnSelectedIndex Changed="ddlTec h_SelectedIndex Changed" Font-Names="Verdana" Font-Size="8pt">
<asp:ListItem >--Select--</asp:ListItem>
<asp:ListItem>. Net</asp:ListItem>
<asp:ListItem>J ava</asp:ListItem>
<asp:ListItem>T esting</asp:ListItem>
<asp:ListItem>O ther</asp:ListItem>
</asp:DropDownLis t>
Comment