Hello;
I am trying to add a promo code to my website that when entered will give my clients an additional 5% off their purchase. Here is what I have so far and it is not working:
Function GetItemTotal() As Decimal
Dim decRunningTotal As Decimal
If Not objDT is Nothing Then
For Each objDR In objDT.Rows
decRunningTotal += (objDR("Item Total"))
Next
Else decRunningTotal = "0.00" End If
Return decRunningTotal
End Function
I have created the following comparator to check for the promo code:
< asp:CompareValidator runat="server" ErrorMessage="" id="CompareValidator1" ControlToValidate="TextBoxPromo" ValueToCompare="BNOV12"> </asp:CompareValidator> <asp: ...
Go to the complete details ...