Posted on: 5/26/2014 9:36:08 AM | Views : 407

Hi,
I have three dropdowns present in the Grid. C,O,S are the dropdowns
I have a column called "Total".
I need to calculate the selected values of all the three dropdowns and bind it to total.
Here is my code:
<asp:TemplateField HeaderText="C"> <ItemTemplate> <asp:DropDownList ID="ddlC" runat="server"> <asp:ListItem>0</asp:ListItem> <asp:ListItem>1</asp:ListItem> <asp:ListItem>2</asp:ListItem> <asp:ListItem>3</asp:ListItem> <asp:ListItem>4</asp:ListItem> <asp:ListItem>5</asp:ListItem> </asp:DropDownList> </ItemTemplate> </asp:Tem ...

Go to the complete details ...