I want to show the total of my record from sql database. (just 1 column, xxxxx records/row)
I used this :
Cmd.CommandText = "SELECT COUNT(column) FROM tablename"
Reader.Value = Cmd.ExecuteReader
msgbox (reader.value)
Why it always gave me empty string?
May i miss something?
Thanks guys, this forum is really helpful! :sign0060:
I used this :
Cmd.CommandText = "SELECT COUNT(column) FROM tablename"
Reader.Value = Cmd.ExecuteReader
msgbox (reader.value)
Why it always gave me empty string?
May i miss something?
Thanks guys, this forum is really helpful! :sign0060: