Question: The CompanyDataSet contains a table named Sales and a field named Income. Which of the following loops will accumulate the values in the Income field?
The CompanyDataSet contains a table named Sales and a field named Income. Which of the following loops will accumulate the values in the Income field?
a. For Each row As CompanyDataSet.Sales.Row
In CompanyDataSet.Sales.Rows
Sales.Row += row.Income
Next row
b. For Each row As CompanyDataSet.Sales.Row
In CompanyDataSet.Sales.Rows
dblTotal += row.Income
Next row
c. For Each row As CompanyDataSet.Sales.Row
In CompanyDataSet.Rows
dblTotal += row.Income
Next row
d. For Each row As CompanyDataSet.Sales
In CompanyDataSet.Sales.Rows
dblTotal += row.Income
Next row
Step by Step Solution
3.32 Rating (164 Votes )
There are 3 Steps involved in it
b For Each row As C... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1814_60b8c1228461e_755726.pdf
180 KBs PDF File
1814_60b8c1228461e_755726.docx
120 KBs Word File
