Hi,
im having problems with my progress bar, just wondered if someone could slap me with the right answer ..
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 )
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
im having problems with my progress bar, just wondered if someone could slap me with the right answer ..
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 )
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