Bit field and ASP.NET

Discussion in 'ASP .Net' started by bmayer@mnepilepsy.net, Jul 28, 2006.

  1. Guest

    There is a bit field in a sql server database. I am trying to pull a
    single row of this bit field out.

    I can get the database to tell the management console that yes the
    field is indeed 1/0 or true/false. I am using a stored procedure for
    that. I have also been able to get the VB.Net code to call this and
    other stored procedures. That appears to be working OK.

    I think that the problem comes in when I try to populate a gridview
    using a SqlDataSource. What is returned is an empty string no matter
    what the bit value is. The data only needs to go into a local Boolean
    variable, but I am unsure about how to get the result of a stored
    procedure directly into a Boolean.
     
    , Jul 28, 2006
    #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. Replies:
    3
    Views:
    1,802
    Timothy Bendfelt
    Jan 19, 2007
  2. JustSomeGuy

    8 bit bit field?

    JustSomeGuy, Feb 27, 2006, in forum: C++
    Replies:
    2
    Views:
    375
    Victor Bazarov
    Feb 27, 2006
  3. Replies:
    9
    Views:
    1,011
    Juha Nieminen
    Aug 22, 2007
  4. Sound
    Replies:
    2
    Views:
    465
    Randy Webb
    Sep 28, 2006
  5. Jeff.M
    Replies:
    6
    Views:
    186
    Lasse Reichstein Nielsen
    May 4, 2009
Loading...

Share This Page