Multiple CheckBoxList selections, one GridView

Last post 05-16-2008 6:30 PM by Gaucho. 2 replies.

Sort Posts:

  • Multiple CheckBoxList selections, one GridView

    05-16-2008, 5:44 PM
    • Loading...
    • Gaucho
    • Joined on 04-21-2008, 11:54 AM
    • Corona, California
    • Posts 164
  • Re: Using a CheckBoxList to generate a GridView

    05-16-2008, 5:55 PM
    • Loading...
    • vinz
    • Joined on 10-05-2007, 11:47 AM
    • Cebu Philippines
    • Posts 6,123

    Gaucho :

    This code gives error messages, can anyone tell me if this is correct or what the correct code should be?

    What exactly do you need? your statement is a bit confusing Tongue Tied

    I also suspect that this line below generates the error because ItemSearch_Grid.SelectedIndex accepts only integer values but you are setting it a bool values..

      ItemSearch_Grid.SelectedIndex += ItemSearch_Check.Items(i).Selected

     

    Cheers,
    Vincent Maverick Durano


  • Re: Using a CheckBoxList to generate a GridView

    05-16-2008, 6:30 PM
    • Loading...
    • Gaucho
    • Joined on 04-21-2008, 11:54 AM
    • Corona, California
    • Posts 164

    Actually, I posted the link to the fix for this at the top of this thread.

Page 1 of 1 (3 items)