Hi,
I want to display a single record datareader and get a value from it. But I
can't do both together.
After "dim dr as Oledbdatareader =cmCat.ExecuteR eader()", the following is
OK(display this single record):
repPage.datasou rce=dr
repPage.databin d
The following is OK(retriving value):
dr.read()
dim thiscat=dr.gets tring(1)
But the following is error:
repPage.datasou rce=dr
repPage.databin d
dr.read()
dim thiscat=dr.gets tring(1)
Is that after binding,the cursor is at the next after last row, and I can't
get the first row(the only row)?
How can I do both together? Can any one give me a hit?
Thanx
Nakhi
Lijiang,Yunnan, China,Asia