【发布时间】:2017-06-17 12:50:29
【问题描述】:
例如。
如果 James、Joe 和 John 访问了一家商店,我如何计算循环中访问该商店的人数而不是显示 3 次数据。真的,我需要计算那 1 家商店中有多少 B.customer_name。因此,对于每个 customer_name 计算出现次数。
For Each A As customer_service.customer_details In C.customers
Dim B As customer_service.customer = customer_dl.customer_details(A.customer_id)
display_customer.Text &= "<p>" & A.customer_shops & " " & B.customer_name & "</p>"
Next
【问题讨论】:
标签: arrays vb.net loops for-loop