Re: datatable already belongs to another dataset
- From: "Sam" <samuel.berthelot@xxxxxxxx>
- Date: 27 Apr 2005 09:41:48 -0700
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
.
- Follow-Ups:
- Re: datatable already belongs to another dataset
- From: Cor Ligthert
- Re: datatable already belongs to another dataset
- References:
- datatable already belongs to another dataset
- From: Sam
- Re: datatable already belongs to another dataset
- From: Cor Ligthert
- Re: datatable already belongs to another dataset
- From: Sam
- Re: datatable already belongs to another dataset
- From: Cor Ligthert
- datatable already belongs to another dataset
- Prev by Date: Re: Convert 32bit vb.net programs to 64bit
- Next by Date: Re: Easy label question...
- Previous by thread: Re: datatable already belongs to another dataset
- Next by thread: Re: datatable already belongs to another dataset
- Index(es):
Relevant Pages
|