I have a 4 columns in the listview the name , age, position, and Attendance. The attendance in a specific row in the listview is "OUT". how i display a message that this row can't be selected because the Attendance in the row is "OUT" thank you . Sorry for my broken english

What about not adding the record to the listview if the Attendance = "OUT"? That way, the user is not tempted to choose an invalid entry.

can u help me to do that sir ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.