la sintassi
codice:
drc[indiceRiga][indiceColonna].ToString();
sembra corretta, in fatti compila correttamente,
ma a runtime ottengo questo errore
codice:
Microsoft (R) Common Language Runtime Test Debugger Shell Version 1.0.3705.0
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.

(cordbg) a 0xc80
Process 3200/0xc80 created.
Warning: couldn't load symbols for c:\windows\microsoft.net\framework\v1.0.3705\
mscorlib.dll
Warning: couldn't load symbols for c:\Documents and Settings\tazio\Documenti\Sha
rpDevelop Projects\prova_form\tree1\prova_mysql\mysql_connect.exe
Warning: couldn't load symbols for c:\documents and settings\tazio\documenti\sha
rpdevelop projects\prova_form\tree1\prova_mysql\mysqldrivercs.dll
Warning: couldn't load symbols for c:\windows\assembly\gac\system.data\1.0.5000.
0__b77a5c561934e089\system.data.dll
Warning: couldn't load symbols for c:\windows\assembly\gac\system\1.0.5000.0__b7
7a5c561934e089\system.dll
Warning: couldn't load symbols for c:\windows\assembly\gac\system.xml\1.0.5000.0
__b77a5c561934e089\system.xml.dll
Warning: couldn't load symbols for c:\windows\assembly\gac\system.data\1.0.3300.
0__b77a5c561934e089\system.data.dll
Warning: couldn't load symbols for c:\windows\assembly\gac\system\1.0.3300.0__b7
7a5c561934e089\system.dll
[thread 0x514] Thread created.
Unable to  determine existence of prolog, if any
[thread 0xa08] Thread created.
[thread 0x514] Unhandled exception generated: (0x00c5c15c) <System.InvalidCastEx
ception>
  _className=<null>
  _exceptionMethod=<null>
  _exceptionMethodString=<null>
  _message=(0x00c6106c) "Specified cast is not valid."
  _innerException=<null>
  _helpURL=<null>
  _stackTrace=(0x00c610b8) array with dims=[36]
  _stackTraceString=<null>
  _remoteStackTraceString=<null>
  _remoteStackIndex=0x00000000
  _HResult=0x80004002
  _source=<null>
  _xptrs=0x00000000
  _xcode=0xe0434f4d

[002e] pop         esi
(cordbg)
non vorrei che fosse la dll bacata!