piDog DataView Number of Rows


I’m trying to get the number of rows in piDog DataView. ListCount always display “0”.

This is a very simple question, but I can’t find it in DataView Docs.

Thank you.


Is this via code ie me.ListCount?


How are you adding the rows?

I’m using a mysql db as source.

Var subject As New Dictionary
subject.Value("Number") = registro.Column("number").StringValue.DefineEncoding(Encodings.UTF8)
subject.Value("Subject") = registro.Column("subject").StringValue.DefineEncoding(Encodings.UTF8)
subject.Value("id") = registro.Column("id").StringValue.DefineEncoding(Encodings.UTF8)

I can’t think of what could be causing ListCount to fail. Are you adding rows from a thread?

Thank you Jim. Its now fixed.

1 Like