Count is not a member of String

Hello everybody, I've this error and I dont know

Count' is not a member of 'String

I trying to do this:

Dim general_data As String = general.GestorSelectMAX()
If general_data.ToString().count > 0 Then

end if

My DB is in access.

I've the same code in other project and it's working really good.

Anybody can help me?

Thanks
LVL 5
nkoriginalAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
either you want the "length" of the string:

If general_data.ToString().Length > 0 Then
0
 
nkoriginalAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.