Hi All,
I have an asp repeater that displays items that have been sold.
<asp:repeater id="dgSales" runat="server">
<ItemTemplate>
<TR class=label>
<TD><asp:Label ID="Label161" runat="server"
CssClass="TDfieldData"><
%#DataBinder.Eval(Container.DataItem, "PurchaseTime")%></asp:Label></
TD>
<TD><asp:Label ID="Label12" Runat="server"
CssClass="TDfieldData"><
%#DataBinder.Eval(Container.DataItem, "Description")%></asp:Label></
TD>
<TD><asp:DropDownList ID="cboSalePerson"
runat="server"></
asp:DropDownList></TD>
</TR>
</ItemTemplate>
</asp:repeater>
Each drop down has to be populated with the names of the sales people
from a database and the sales person currently associated with that
sale needs to be the selected item.
The user then needs to be able change the sales person where required
and save it back to the database.
I am having real problem figuring out how to create the dropdown and
link it to the sale record or even if I am going about this is the
right way.
The page is in VB Any help would be really appriciated (step by step
if possible!)
Thanks
Fred