I met that error when i use this code :

Code:
  Dim K As String = sqlcommand.ExecuteScalar()
If items in column is empty it will show that error,

How can i overcome it without use trycatch or ...