Results 1 to 6 of 6

Thread: openschema question

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Posts
    6

    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!

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Are you still using ADO or did you switch to OLEDB?

  3. #3
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256

    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

  4. #4

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Posts
    6

    sorry

    I want to get every column name of a table, so I use openschema function

  5. #5
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    And are you using ADO or ADO.NET?

  6. #6
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    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
  •  



Click Here to Expand Forum to Full Width