editing bit columns

Discussion in 'ASP .Net Datagrid Control' started by Dean, Sep 17, 2003.

  1. Dean

    Dean Guest

    I'm trying to edit a table with a text columnand a bit column. The text
    column works fine and the bit column displays the checkbox template column
    ok but I can't seem to figure out how to get the selected value into my row
    field the Updatecommand event. I'm trying to do the following:

    private sub myGrid_UpdateCommand(byval........
    ..
    ..
    myrow.textfield = CType(e.item.cells(0).controls(0), TextBox).text <--
    works fine
    myrow.bitfield = CType(e.item.cells(1).controls(0), boolean) < --value of
    UI can't be converted to boolean


    How can I get the value of the check box into the bit field?
    Thanks,
    Dean
    Dean, Sep 17, 2003
    #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,719
    Timothy Bendfelt
    Jan 19, 2007
  2. Replies:
    0
    Views:
    575
  3. Replies:
    9
    Views:
    941
    Juha Nieminen
    Aug 22, 2007
  4. Keefe Goldfisher via .NET 247

    Sizing text entry boxes on in-place editing of datagrid row with dynamically created columns

    Keefe Goldfisher via .NET 247, Mar 7, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    177
    Keefe Goldfisher via .NET 247
    Mar 7, 2005
  5. Jeff.M
    Replies:
    6
    Views:
    163
    Lasse Reichstein Nielsen
    May 4, 2009
Loading...

Share This Page