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. Advertisements

  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. 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. Nedu N
    Replies:
    1
    Views:
    2,049
    Chris Taylor
    Oct 31, 2003
  2. Nedu N
    Replies:
    2
    Views:
    2,497
  3. William Gower
    Replies:
    2
    Views:
    4,437
    Brian Baker [MVP]
    Jul 26, 2004
  4. Ersin Gençtürk
    Replies:
    1
    Views:
    4,293
    Ersin Gençtürk
    Oct 6, 2004
  5. thomson
    Replies:
    2
    Views:
    15,090
    Eliyahu Goldin
    Jan 19, 2005
  6. DougS

    typed dataset and datagrid

    DougS, Jan 7, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    457
    DougS
    Jan 7, 2006
  7. Yingjie Lan
    Replies:
    4
    Views:
    612
    John Nagle
    Jan 29, 2010
  8. Nedu N
    Replies:
    2
    Views:
    428
    Jacob Yang [MSFT]
    Oct 31, 2003
Loading...