I created several columns via build datatable. One column was defined with data type TerrminalConnection. So how would I extract the TerminalConnection if datatable was “dt” and columname was “tc”?
tc2 = dt[row].[tc])
I created several columns via build datatable. One column was defined with data type TerrminalConnection. So how would I extract the TerminalConnection if datatable was “dt” and columname was “tc”?
tc2 = dt[row].[tc])
I have tried that and as the the image below shows an error of implicit conversions from object to terminalconnection. So how would I create a converstion from object to termincalconnection?
Thanks in advance
Chris
give a try on direct cast
DirectCast( dt.Rows.Item( YourRowNumber )(“tc”),TerminalConnection)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.