The item is not an index, it is a function. You must do:
byte[] bits = Convert.ToByte(ds.Tables[0].Rows[0].Item(0));
Or, if you want the position at position 0,0 in your table0 you would do:
byte[] bits = Convert.ToByte(ds.Tables[0].Rows[0][0]);
source share