F
Fraggle
dim tblrow as System.Data.DataRow
dim i as integer
i = 0
for each tblrow in datasrc.tables(0)
if tblrow.item("Answer").toupper = "OTHER"
i+=1
end if
Next
This seems clear enough to me. Look at all the "Answers" in a table,
if you find "otHer" then increment 'i'
however the great ASP.framework (who we all serve) says
"Compiler Error Message: BC32023: Expression is of type
'System.Data.DataTable', which is not a collection type."
which may well be true.
Tell me how to do this properly please!
Cheers as ever
Fragg
dim i as integer
i = 0
for each tblrow in datasrc.tables(0)
if tblrow.item("Answer").toupper = "OTHER"
i+=1
end if
Next
This seems clear enough to me. Look at all the "Answers" in a table,
if you find "otHer" then increment 'i'
however the great ASP.framework (who we all serve) says
"Compiler Error Message: BC32023: Expression is of type
'System.Data.DataTable', which is not a collection type."
which may well be true.
Tell me how to do this properly please!
Cheers as ever
Fragg