I have been looking for days on how to perform a - hopefully - simple task.
I have a MultiSelect Listbox on my Insert Page.
I want to have a MultiSelect Listbox on my Update (Edit) Page that shows which sites were selected on the Insert Page so the User does not need to reselect them, thus eliminating errors and wasting their time.
The 'ddlSite' field in my table (tblRequest) that recieved the inserted data stores the selected values separated by commas (ie: Birchmount,Longview,GlenEden).
How can I show in my Update Page listbox which items were selected on the Insert Page.
I'm working in C#.
TIA, Brenda
I have a MultiSelect Listbox on my Insert Page.
Code:
<asp:ListBox ID="ddlSite"
DataSource="<%# dsSite.DefaultView %>"
DataTextField="Site"
DataValueField="Site"
Rows="5"
runat="server"
SelectionMode="multiple">
</asp:ListBox>
I want to have a MultiSelect Listbox on my Update (Edit) Page that shows which sites were selected on the Insert Page so the User does not need to reselect them, thus eliminating errors and wasting their time.
The 'ddlSite' field in my table (tblRequest) that recieved the inserted data stores the selected values separated by commas (ie: Birchmount,Longview,GlenEden).
How can I show in my Update Page listbox which items were selected on the Insert Page.
I'm working in C#.
TIA, Brenda