|
-
Apr 27th, 2003, 07:59 PM
#1
Thread Starter
New Member
openschema question
When I want to list columns in a table with vb6.0, I write
adoconnection.OpenSchema(ADODB.SchemaEnum.adSchemaColumns, Array(empty, empty, empty, tablename))
but now with vb.net, I find that Array(empty, empty, empty, tablename)) is not correct , how can i rewrite it in vb.net?
thanks in advance!
-
Apr 27th, 2003, 09:38 PM
#2
Are you still using ADO or did you switch to OLEDB?
-
Apr 27th, 2003, 10:04 PM
#3
Frenzied Member
Re: openschema question
Originally posted by Gpooh
When I want to list columns in a table with vb6.0, I write
adoconnection.OpenSchema(ADODB.SchemaEnum.adSchemaColumns, Array(empty, empty, empty, tablename))
but now with vb.net, I find that Array(empty, empty, empty, tablename)) is not correct , how can i rewrite it in vb.net?
thanks in advance!
What do you mean by listing columns?
Dont gain the world and lose your soul
-
Apr 30th, 2003, 01:50 AM
#4
Thread Starter
New Member
sorry
I want to get every column name of a table, so I use openschema function
-
Apr 30th, 2003, 02:27 AM
#5
And are you using ADO or ADO.NET?
-
Apr 30th, 2003, 06:51 AM
#6
Frenzied Member
I think its safe to say he is using ADO.
Gpooh use ADO.NET
Dont gain the world and lose your soul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|