Re: datatable already belongs to another dataset



Public Function GetAllTables() As DataTable
Dim da As New DatabaseAccess

Try
m_dtFields = da.GetTable("select table_name from
INFORMATION_SCHEMA.TABLES", DatabaseAccess.SQLType.Text)
Return m_dtFields
Catch ex As Exception
Stop
End Try
End Function

databaseAccess is a class of mine that handle connections, commands....
The return m_dtFields datatable is correct and contains the right
values. It is a member variable of the class and was initialised using
New. It is not contained in any other dataset.

thx

.



Relevant Pages

  • Re: ToM trunk help
    ... turned to potentiometer like LTG suggested. ... checked all connections ... everything seems tight. ... Prev by Date: ...
    (rec.games.pinball)
  • RE: Submit Button
    ... >> Chris A ... > search on connections, forms, request.form, validate, add records, close ... > 'SEND DATA TO ANOTHER PAGE TO VALIDATE ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)
  • Re: how do printed circuits break?
    ... Physically broken/cracked surface mount components or the solder ... connections to same. ... Rarely visible to the naked eye. ... Prev by Date: ...
    (sci.electronics.repair)
  • Re: Please post similarities between Turkic and Native American
    ... > poster might have connections to Turkey ... Birgit ... Prev by Date: ...
    (sci.lang)
  • Hitachi
    ... checked all connections, ... Hitachi Model #27CX5B mfg ... Prev by Date: ...
    (sci.electronics.repair)