Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <asp:TemplateField HeaderText="Your Ethnicity">
- <EditItemTemplate>
- <asp:DropDownList ID="ddlEthnicity" runat="server"
- DataSourceid="ddlDAEthnicity"
- DataTextField="Ethnicity" DataValueField="EthnicityID"
- SelectedValue='<%#Bind("EthnicityID") %>'
- >
- </asp:DropDownList>
- </EditItemTemplate>
- <ItemTemplate >
- <asp:Label Runat="server" Text='<%# Bind("Ethnicity") %>'
- ID="lblEthnicity">
- </asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
Add Comment
Please, Sign In to add comment