odbc and progress bar problems

Illusion

Well-known member
Joined
Aug 7, 2003
Messages
105
Location
Uk
Hi,

im having problems with my progress bar, just wondered if someone could slap me with the right answer .. :p

Code:
Do While OdbcDataReader.Read
SScreen.loadingbar.Value += 1
Loop

This should work all the time there is something to be read ....
also is there a way to find out how many rows there are in a odbc database?

I was working with ADO ..but have to connect using an ODBC connection ... so Im a bit lost with its interface (and being a vb.net newbie its harder :confused: )

Is there anyway to use the datareader to put the information into a dataset or datatable ... because im not sure how to and the old way I was trying (with a data adaptor) didnt work as the driver didnt support this feature .... so im left with a handful of odbc commands .....
help me please :rolleyes:
 
Back
Top