TableAdapter Scalar or "Single Value" Queries

Discussion in 'ASP .Net Web Controls' started by Fred Taylor, Nov 23, 2005.

  1. Fred Taylor

    Fred Taylor Guest

    How do you specify the data type of the return value of Scalar queries in
    Visual Web Developer through the IDE? Sometimes VWD gets it right, but most
    of the time it specifies the type as "Object".

    To work around this, I have to manually change the ScalarCallRetval
    attribute value from System.Object to System.Int32 in the XSD file. It's a
    real pain, and I feel like I'm sort of hacking the file when I do this. TIA.
    Fred Taylor, Nov 23, 2005
    #1
    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. Ian Roddis

    xslt queries in xml to SQL queries

    Ian Roddis, Feb 26, 2006, in forum: Python
    Replies:
    3
    Views:
    1,447
    Crutcher
    Feb 26, 2006
  2. bogdan
    Replies:
    3
    Views:
    542
    bruce barker
    Apr 8, 2008
  3. Abby Lee

    so many queries within queries I'm confused

    Abby Lee, Aug 4, 2004, in forum: ASP General
    Replies:
    11
    Views:
    335
    Aaron [SQL Server MVP]
    Aug 6, 2004
  4. Clint Olsen
    Replies:
    6
    Views:
    333
    Jeff 'japhy' Pinyan
    Nov 13, 2003
  5. Mark

    Replace scalar in another scalar

    Mark, Jan 27, 2005, in forum: Perl Misc
    Replies:
    4
    Views:
    145
    Arndt Jonasson
    Jan 27, 2005
Loading...

Share This Page