G
Guest
I want to pass a dataview to another subroutine. I've successfully created
the datavew as follows:
For Each CriteriaDetailRow In AlertData.AlertDS.Tables("EventCriteria").Rows
Dim foundRows() As DataRowView = Min_NumView.FindRows(New
Object() {CriteriaDetailRow.Item("Min_Num")})
For Each MinGPSHistoryDetailRow In foundRows
I now want to pass "foundRows" to a subroutine for futher processing as
follows:
NoActivity(foundRows)
The foundRows collection has rows and columns that I need to access. I
defined the function call as follows:
Function NoActivity(InputData)
I'm receiving the collection as follows:
dim GoodData as Array = InputData
I realize that I need to use "For each in GoodData" to read thru the array.
But how do I access the columns of data that I also need? The collection is
results of a datatable.
Thanks
the datavew as follows:
For Each CriteriaDetailRow In AlertData.AlertDS.Tables("EventCriteria").Rows
Dim foundRows() As DataRowView = Min_NumView.FindRows(New
Object() {CriteriaDetailRow.Item("Min_Num")})
For Each MinGPSHistoryDetailRow In foundRows
I now want to pass "foundRows" to a subroutine for futher processing as
follows:
NoActivity(foundRows)
The foundRows collection has rows and columns that I need to access. I
defined the function call as follows:
Function NoActivity(InputData)
I'm receiving the collection as follows:
dim GoodData as Array = InputData
I realize that I need to use "For each in GoodData" to read thru the array.
But how do I access the columns of data that I also need? The collection is
results of a datatable.
Thanks