Solved

how do i set variable in dreamweaver asp.net vb

Posted on 2008-10-28
1
142 Views
Last Modified: 2010-04-14
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

0
Comment
Question by:LazarusBlack
1 Comment
 

Accepted Solution

by:
LazarusBlack earned 0 total points
ID: 22836162
had to do it in the database.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now