Results 1 to 3 of 3

Thread: radio control list question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    MA, US
    Posts
    78

    radio control list question

    Hi,
    On a web page I have an radio control list that is binded to an sqldatareader.
    My question is how can I detect if the data reader has returned any records?
    If i check the datareader first then I can not do the binding because the data reader was already used.
    I tried to do the binding first and then to check radChannel.Controls.Count property of the radio control, but this prop is always 0.

    Thank you,

    svatasoiu

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    You can easilly check the RadionButtonListControl.Items.Count after you bind the SQLDataReader.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    MA, US
    Posts
    78

    Thumbs up That works. thank you

    That works. thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width