K
Kenneth
what happend with the memory in my computer, is alt 1 bad or is alt 2 bad?
alt 1
For Each tblRow As DataRow In Ds.Tables("tbl").Rows
Dim nCoValue As System.Single = CSng(tblRow.Item("nCoValue"))
'Do something with nCoValue
Next
alt 2
Dim nCoValueAs System.Single
For Each tblRow As DataRow In Ds.Tables("tbl").Rows
nCoValue = CSng(tblRow.Item("nCoValue"))
'Do something with nCoValue
Next
//Kenneth
alt 1
For Each tblRow As DataRow In Ds.Tables("tbl").Rows
Dim nCoValue As System.Single = CSng(tblRow.Item("nCoValue"))
'Do something with nCoValue
Next
alt 2
Dim nCoValueAs System.Single
For Each tblRow As DataRow In Ds.Tables("tbl").Rows
nCoValue = CSng(tblRow.Item("nCoValue"))
'Do something with nCoValue
Next
//Kenneth