M
Mostafa Salaheldien
Guest
hello everyone,
i have a webpage iam extract price for FirstOrder from it to Listrate and days to Listdays from the calssname
but the price come with VAt and tax and to two more price, that mean the Listdays will be only two item but Listrate will be 6 item i want to delete the 4 more item
Iam using this code to do it
If Listdays.Items.Count < Listrate.Items.Count Then
For x = Listrate.Items.Count - 1 To Listdays.Items.Count Step -1
Listrate.Items.RemoveAt(x)
Next
End If
but what i need sometimes in the page two or threre Order
thats mean
list days will be
-------
day1
day2
day 1
day2
-----
and listrate
-----
100
150
30 <<<
20 <<<
50 <<<
60 <<<
100
150
30 <<<
20 <<<
50 <<<
60 <<<
i want to remove from listrate the first 4 item after price <<< and the second 4 item after price
it will be only
------
100
150
100
150
-----
because Listdays only 4 item
-------
day1
day2
day 1
day2
sorry i can't provide any photos it will be easy to explain
Continue reading...
i have a webpage iam extract price for FirstOrder from it to Listrate and days to Listdays from the calssname
but the price come with VAt and tax and to two more price, that mean the Listdays will be only two item but Listrate will be 6 item i want to delete the 4 more item
Iam using this code to do it
If Listdays.Items.Count < Listrate.Items.Count Then
For x = Listrate.Items.Count - 1 To Listdays.Items.Count Step -1
Listrate.Items.RemoveAt(x)
Next
End If
but what i need sometimes in the page two or threre Order
thats mean
list days will be
-------
day1
day2
day 1
day2
-----
and listrate
-----
100
150
30 <<<
20 <<<
50 <<<
60 <<<
100
150
30 <<<
20 <<<
50 <<<
60 <<<
i want to remove from listrate the first 4 item after price <<< and the second 4 item after price
it will be only
------
100
150
100
150
-----
because Listdays only 4 item
-------
day1
day2
day 1
day2
sorry i can't provide any photos it will be easy to explain
Continue reading...