Click here to Skip to main content
13,453,198 members (48,006 online)
Rate this:
Please Sign up or sign in to vote.
See more:
in list box 1 selected item goes to list box 2 then immediately list box 1 selected item is enabled how can i do.

i have two list box in my project. i have two buttons as follows add and load.

when i click the load button all faculty code is retrieved from the DB and displayed in the list box 1 that is working fine.

when i select, the list box 1 selected item and click the add button that selected faculty code goes to list box 2 that is working .

what i required is list box 1 selected item goes to list box 2 when i click the add button then immediately the selected list box 1 item is to be enabled false.

how can i me.
Posted 22-Jan-13 2:46am
Sandeep Mewara 22-Jan-13 8:54am
And what have you tried so far? Where are you stuck?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you just want to deselect it:


If you also want to delete that:


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.180318.3 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100