Forum Replies Created

Viewing 3 posts - 1 through 4 (of 4 total)

  • RE: SQLDMO

    Andy,

    Would the code below work in VB.Net?

    set odb=oserver.databases("Northwind")

    Thanks

    Jim

  • RE: SQLDMO

    Andy,

    The program retrieves the databases and lists them in a list box. When the user clicks on a database the tables for that database...

  • RE: SQLDMO

    Thanks for the feedback. I am new to the whole for each loop thing. would I use the code below?

    foreach (this.poSqlDMO.Databases.ItemByID(DatabaseNumber).Tables in this.poSqlDMO.Databases)

    {

    this.lstTables.Items.Add (this.poSqlDMO.Databases.ItemByID(DatabaseNumber).Tables.ItemByID(i).Name);

    }

    Thanks

    Jim

Viewing 3 posts - 1 through 4 (of 4 total)