I have a Datalist in my project and it have a two column("Price" and "Quantity")
Price is coming from database. I am using DropdownList for Quantity.
I wanna multiply these 2 column and get result dynamicly. The important point in here, if i change the quantity, result have to change without page refresh.
How can I do that? What is the event of datalist for do this?
Thanks.
My Code
<asp:DataList ID="DataList1" DataKeyField="SIRANO" runat="server"
onitemcommand="DataList1_ItemCommand" >
Price:<asp:Label ID="Label5" runat="server" Text='<%#Eval("PRICE") %>'></asp:Label>
Quantity:<asp:DropDownList ID="DropDownList1" runat="server" Height="20px" Width="48px">
<asp:ListItem>3</asp:ListItem>
</asp:DropDownList>
<b> Total:<asp:Label ID="Label7" runat="server"></asp:Label></b>