Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
IGNORE. I have solved my problem.

What I have tried:

IGNORE. I have solved my problem.
Posted
Updated 26-Mar-18 0:32am
v4
Comments
PIEBALDconsult 26-Mar-18 0:10am    
So? What's the value?
Richard Deeming 27-Mar-18 9:37am    
If you've solved the problem, then either delete your question, or post the solution if you think it might help other people.

DO NOT edit your question to remove all details.

1 solution

We can't help you - this depends entirely on the data you are looking at and processing, and we have no access to that at all.
So, it's going to be up to you.
Fortunately, you have a tool available to you which will help you find out what is going on: the debugger. How you use it depends on your compiler system, but a quick Google for the name of your IDE and "debugger" should give you the info you need.

Put a breakpoint on the line:
UserID = Guid.Parse(listboxUsers.SelectedValue);
and run your code through the debugger. Then look at your code, and at your data and work out what should happen manually. Then single step each line checking that what you expected to happen is exactly what did. When it isn't, that's when you have a problem, and you can back-track (or run it again and look more closely) to find out why.

Sorry, but we can't do that for you - time for you to learn a new (and very, very useful) skill: debugging!
 
Share this answer
 

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

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900