Greetings fellow developers,
can you guys give me a hint on how to check if the datacolumn or datarow on the database has a value or null value what i want to happen is if the column1 has a value then the button is disabled.
Dim Str As String
Str = "SELECT studentId ,quiz ,midterms ,finals FROM result WHERE studentId ='" & studentProfile.studentId.Text & "' "
sqlCom = New SqlCommand(Str, getConnect)
Dim sqlRdr As SqlDataReader
sqlRdr = sqlCom.ExecuteReader()
this is my code and i'm stuck with it i used sqlRdr.HasRows but it didn't fixed the problem. I will really appriciate any related answers.
advance thank you.