[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 579
  • Last Modified:

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
0
nkoriginal
Asked:
nkoriginal
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
either you want the "length" of the string:

If general_data.ToString().Length > 0 Then
0
 
nkoriginalAuthor Commented:
Thanks
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now