Forum Moderators: open
And what does it actually returns? Type int32? Can it be int16 as well? Return the value does it mean return the info on the specified column of the specified rows? Or the number of order of the row/column?
Thanx
Basically:
Table
Row1
Column1 - NO: 1
Column2 - Desc: Red
Column3 - Name: Small Widget
Column4 - Number: 3
Row2
Column1 - NO: 2
Column2 - Desc: Blue
Column3 - Name: Big Widget
Column4 - Number: 3
While at row 1
OleDbDatareader.Getvalue(0) would return: 1
While at row 2
OleDbDatareader.Getvalue(2) would return: Big Widget
This is because it takes a zero-based integer that correpsonds to the column you want.
I haven't actually used .NET yet but if i when i do thats what i'd expect this function to do!
(How are you meant to 'write' tables by the way, i hope you can understand the above)