Jump to content

How to asign


nazar ali

Recommended Posts

HiHow I asign value of one control to another controllike this<asp:DropDownList ID="list_SubCategory" runat="server" Width="200px" ><asp:ListItem Value='?????' >Choose</asp:ListItem> </asp:DropDownList>suppose list_SubCategory.value=123then how it will be asing to listitemtanks

Link to comment
Share on other sites

in order for the DDL to have a value of "123" there would have to already be a ListItem with the Value="123" that has been selected by the user.I don't think you are understanding the concept.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...