Monday, May 8, 2017

Skin Field in ASP.NET

<body>
    <form id="form1" runat="server">
    <div>
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
            <asp:ListItem>Select Theme</asp:ListItem>
            <asp:ListItem>Green</asp:ListItem>
            <asp:ListItem>Blue</asp:ListItem>
            <asp:ListItem>Red</asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="Label1" runat="server" BackColor="gray" Text="My Theme"></asp:Label>
    </div>
    </form>
</body>

No comments:

Post a Comment