You should check if you have a valid instance of the object you try to use
as a ToString.
Break before MsgBox and check if there is something Nothing around there...
Quick Watch or something...
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I'm getting the obj ref error on this:
MessageBox.Show(Branchesds1.Tables(0).Columns("log dt").DataType.Name.ToStrin g)
What am I doing wrong?
Tx for any help.
Bernie Yaeger