datatablecollection and missing schema

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?cm9kY2hhcg==?=

    datatablecollection and missing schema

    hey all,
    i noticed if i use the missing schema to fill a datatablecollec tion the
    table names are generic (Table, Table1, Table2)

    is there anyway to change that? i tried on the sql side to use an alias for
    the table name but i don't think that work when i tried to debug.

    thanks,
    rodchar
  • Ignacio Machin ( .NET/ C# MVP )

    #2
    Re: datatablecollec tion and missing schema

    On Mar 26, 10:05 am, rodchar <rodc...@discus sions.microsoft .com>
    wrote:
    hey all,
    i noticed if i use the missing schema to fill a datatablecollec tion the
    table names are generic (Table, Table1, Table2)
    >
    is there anyway to change that? i tried on the sql side to use an alias for
    the table name but i don't think that work when i tried to debug.
    >
    thanks,
    rodchar
    What you mean with the missing schema?
    Of course if the dataadapter do not have a schema it will not be able
    to know the names, etc
    you can always rename the tables afterwards though.

    Comment

    • =?Utf-8?B?cm9kY2hhcg==?=

      #3
      Re: datatablecollec tion and missing schema

      yes that's what i mean, the dataadapter missing schema. thanks for the help.
      rod.

      "Ignacio Machin ( .NET/ C# MVP )" wrote:
      On Mar 26, 10:05 am, rodchar <rodc...@discus sions.microsoft .com>
      wrote:
      hey all,
      i noticed if i use the missing schema to fill a datatablecollec tion the
      table names are generic (Table, Table1, Table2)

      is there anyway to change that? i tried on the sql side to use an alias for
      the table name but i don't think that work when i tried to debug.

      thanks,
      rodchar
      >
      What you mean with the missing schema?
      Of course if the dataadapter do not have a schema it will not be able
      to know the names, etc
      you can always rename the tables afterwards though.
      >

      Comment

      • Ignacio Machin ( .NET/ C# MVP )

        #4
        Re: datatablecollec tion and missing schema

        On Mar 26, 3:35 pm, rodchar <rodc...@discus sions.microsoft .comwrote:
        yes that's what i mean, the dataadapter missing schema. thanks for the help.
        rod.
        >
        "Ignacio Machin ( .NET/ C# MVP )" wrote:
        >
        >
        >
        On Mar 26, 10:05 am, rodchar <rodc...@discus sions.microsoft .com>
        wrote:
        hey all,
        i noticed if i use the missing schema to fill a datatablecollec tion the
        table names are generic (Table, Table1, Table2)
        >
        is there anyway to change that? i tried on the sql side to use an alias for
        the table name but i don't think that work when i tried to debug.
        >
        thanks,
        rodchar
        >
        What you mean with the missing schema?
        Of course if the dataadapter do not have a schema it will not be able
        to know the names, etc
        you can always rename the tables afterwards though.- Hide quoted text -
        >
        - Show quoted text -
        Well, then just rename the table and you are ready :)

        Comment

        Working...