Hello,
In my VB.net application I am populating my customer object and looping through it as shown below.
As there are thousands of customers, I want to do it 500 customers at a time.
Is there anyway I can have one more For loop to process 500 customers at one shot in vB.net
I am not using LinQ as the database is Oracle.
is there anything like
Thanks
Dim customerList as new List(of customer)
Dim Customer as new Customer
Try
CustomerList=dataAccess.GetAllCustomers()
if not CustomerList is nothing then
For each Customer in CustomerList
BuildXML(custmer.Name,Customer.age,Customer.city)
next
ProcessXMLWS(strxml)
end if
Catch ex as exception
LogError(ex.message)
End try