How to get real datacolumn type?

Discussion in 'Microsoft ADO .NET' started by neomat8, Feb 24, 2004.

  1. neomat8

    neomat8 Guest

    Hi,

    I'm trying to get a DataColumn type (VB.Net + Framework 1.1).
    The property DataColumn.DataType is supposed to return dotNet
    framework type. But no matter what is the real type of the DataColumn,
    all I get is System.RuntimeType.
    I'll really apreciate a tip to solve this problem.

    Thanks.

    Sincerely,

    Neomat8
     
    neomat8, Feb 24, 2004
    #1
    1. Advertisements

  2. What is the code you are using ? It looks like you are retrieving the type
    of the DataType property. Try DataType.Name...

    Patrice
    --

    "neomat8" <> a écrit dans le message de
    news:...
    > Hi,
    >
    > I'm trying to get a DataColumn type (VB.Net + Framework 1.1).
    > The property DataColumn.DataType is supposed to return dotNet
    > framework type. But no matter what is the real type of the DataColumn,
    > all I get is System.RuntimeType.
    > I'll really apreciate a tip to solve this problem.
    >
    > Thanks.
    >
    > Sincerely,
    >
    > Neomat8
     
    Patrice Scribe, Feb 24, 2004
    #2
    1. Advertisements

  3. Thanks.
    It works fine. Thanks again.

    Sincerely,

    Neomat8





    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    neomat8 neomat8, Feb 24, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wjg
    Replies:
    2
    Views:
    7,195
    Pradono
    Oct 31, 2008
  2. Daniel Barisch

    Get Original-Value of an DataColumn?

    Daniel Barisch, Jul 23, 2003, in forum: Microsoft ADO .NET
    Replies:
    2
    Views:
    1,127
    Daniel Barisch
    Jul 24, 2003
  3. G

    How can you get past DataColumn.Expression

    G, Nov 6, 2003, in forum: Microsoft ADO .NET
    Replies:
    1
    Views:
    283
    William Ryan
    Nov 6, 2003
  4. Programatix
    Replies:
    1
    Views:
    335
    Miha Markic [MVP C#]
    Jan 30, 2005
  5. thomas
    Replies:
    2
    Views:
    1,089
    thomas
    Sep 21, 2006
Loading...

Share This Page