how do i set variable in dreamweaver asp.net vb

trying to modify a variable in a dreamwevaer asp.net vb datagrid.

i want to use "Total" and have every record add to it so I can use it later on the page.


<asp:TemplateColumn HeaderText="Price" ItemStyle-HorizontalAlign="right" 
        Visible="True">
                    <ItemTemplate><%# Decimal.Parse(spItemList.FieldValue("ItemPrice", Container)).ToString("C")  %>
                        <%# Total =+ Decimal.Parse(spItemList.FieldValue("ItemPrice", Container))  %>
                    </ItemTemplate>

Open in new window

LazarusBlackAsked:
Who is Participating?
 
LazarusBlackConnect With a Mentor Author Commented:
had to do it in the database.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.