checking list box value

Results 1 to 2 of 2

Thread: checking list box value

  1. #1
    Join Date
    Dec 1969

    Default checking list box value

    how can i know that whether an item is selected from a list box or not in C#.<BR>for e.g.<BR><BR>if (ProdID_ListBx.SelectedValue != null)<BR><BR>thanks in advacne.<BR><BR>Cheers,<BR>Sandy.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: checking list box value

    that&#039;s about right, though I suspect you want to check it against an empty string instead of a null.

Posting Permissions

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