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 <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
