Typed DataSet and converting types

Discussion in 'ASP .Net Web Services' started by Alex Maskaev, May 26, 2004.

  1. Alex Maskaev

    Alex Maskaev Guest

    Hi there!

    I've met strange behavior in VS 2003:
    I created Web service with web method which returns typed DataSet with some
    fields of "date" data type.
    But when I've added web reference to this web service in other project, I've
    seen that fields in this dataset (which was created in folder Web Reference)
    now have type "datetime"!

    Does anybody know how can I avoid this behavior?
    Alex Maskaev, May 26, 2004
    #1
    1. Advertising

  2. Alex Maskaev

    Jan Tielens Guest

    They both map to the same type internally. So it's not an issue I think.

    --
    Greetz
    Jan
    ________________
    Read my weblog: http://weblogs.asp.net/jan


    "Alex Maskaev" <alex/at/impet.com> schreef in bericht
    news:...
    > Hi there!
    >
    > I've met strange behavior in VS 2003:
    > I created Web service with web method which returns typed DataSet with

    some
    > fields of "date" data type.
    > But when I've added web reference to this web service in other project,

    I've
    > seen that fields in this dataset (which was created in folder Web

    Reference)
    > now have type "datetime"!
    >
    > Does anybody know how can I avoid this behavior?
    >
    >
    Jan Tielens, May 26, 2004
    #2
    1. Advertising

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. Nedu N
    Replies:
    1
    Views:
    1,792
    Chris Taylor
    Oct 31, 2003
  2. Nedu N
    Replies:
    2
    Views:
    2,151
  3. William Gower
    Replies:
    2
    Views:
    4,135
    Brian Baker [MVP]
    Jul 26, 2004
  4. thomson
    Replies:
    2
    Views:
    14,828
    Eliyahu Goldin
    Jan 19, 2005
  5. Nedu N
    Replies:
    2
    Views:
    219
    Jacob Yang [MSFT]
    Oct 31, 2003
Loading...

Share This Page