Yes - Im fairly new to VB.NET and I'm still struiggling with the syntax.
Below you will see code where I succesfully 'find' a row in my table of a dataset. Next I simply want to grab the string value one column (CUR_STUD_DIV).
'This line DOES find the row I want...
foundrow = TmsEPrdDataSet.Tables("Student_Master").Rows.Find(ID_NUM)
' This line produces the error below. AM I doing something wrong with the syntax here?
CUR_STUD_DIV = TmsEPrdDataSet.Tables("Student_Master").Rows(foundrow).Item("CUR_STUD_DIV")
'The error I get is : "Conversion from type 'STUDENT_MASTERRow' to type 'Integer' is not valid."
'Yes I have declared CUR_STUD_DIV as a string.
Thanks for any help here.
Below you will see code where I succesfully 'find' a row in my table of a dataset. Next I simply want to grab the string value one column (CUR_STUD_DIV).
'This line DOES find the row I want...
foundrow = TmsEPrdDataSet.Tables("Student_Master").Rows.Find(ID_NUM)
' This line produces the error below. AM I doing something wrong with the syntax here?
CUR_STUD_DIV = TmsEPrdDataSet.Tables("Student_Master").Rows(foundrow).Item("CUR_STUD_DIV")
'The error I get is : "Conversion from type 'STUDENT_MASTERRow' to type 'Integer' is not valid."
'Yes I have declared CUR_STUD_DIV as a string.
Thanks for any help here.