when i try to convert the SqlByte datatype to byte like this:
SqlByte x = 2;
int y;
y = Convert.ToInt32(x);
this exeptions happens: Unable to cast object of type 'System.Data.SqlTypes.SqlByte' to type 'System.IConvertible.
how can convert it?