[Mono-list] about Convert class
David Waite
David Waite <dwaite@gmail.com>
Mon, 23 Aug 2004 16:56:52 -0600
This sure looks like you are having an IndexOutOfBoundsException on
dr.GetValue(0), and not the Convert.
On Mon, 23 Aug 2004 15:12:49 +0000, lamyae Benabdeljalil
<lbenabdel@callbright.com> wrote:
> I am using mono 1.0, and i have a problem with a lethod of the
> System.Convert class. My statement is :
> Hashkey=System.Convert.FromBase64String(dr.GetValue(0).ToString());
> i get the following error:
> Unhandled Exception: System.IndexOutOfRangeException: Array index is out
> of range.
> in <0x00098> System.Data.Odbc.OdbcDataReader:GetValue (int)
> in <0x00054> (wrapper remoting-invoke-with-check)
> System.Data.Odbc.OdbcDataReader:GetValue (int)
> in <0x003d6> Test:checkkeys ()
> in <0x000cb> Test:Main ()
>
> Please, can you help me?
> *
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>