|
-
April 4th, 2006, 03:09 PM
#1
I need help on Datalist-Urgent
Hi,
im doing some work on carting, ive added some element to cart-datalist like;
Service Name : Amount
service1 : 599$
service2 : 199$
service3 : 199$
total: 997$
If i am going to delete/remove service1, it is removed, but amount of service2 (199$) has to be get replaced with 599$, plz would u tell me how to do this, if u have some coding on this plz send it [email protected]
Last edited by vinayvarma; April 5th, 2006 at 01:00 PM.
-
April 5th, 2006, 03:36 AM
#2
Re: I need help on Datalist-Urgent
-
April 5th, 2006, 12:58 PM
#3
Re: I need help on Datalist-Urgent
im doing some work on carting, ive added some element to datalist ex:
Service Name : Amount
service1 : 599$
service2 : 199$
service3 : 199$
total: 997$
If i am going to delete/remove service1, it is removed, but amount of service2 (199$) has to be get replaced with 599$, plz would u tell me how to do this, if u have some coding on this plz send it [email protected]
-
April 5th, 2006, 03:24 PM
#4
Re: I need help on Datalist-Urgent
Hello,
I'm not sure if I understood well what's your point.
You've got a list like that:
service1 : 599$
service2 : 199$
service3 : 199$
total: 997$
and after removing service1, you want your list to look like
service2 : 599$
service3 : 199$
total: 798$,
isn't it?
If so, you just have to remove the name of service1, then move up all service names and delete last amount of the list. Total amount is easy to calculate
Best Regards,
Grzegorz Rycaj
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|