It's inside a Month Calendar - SelectedDateChange(using Visual C# 2008). It's purpose is that, whenever someone select a date. I want all rows in my Apment table what are associated with that date, to show in a listbox (which is already bound to the table). And that piece of code should do it. And it does filter it out. But then after like 10 miliseconds every row come back into the listBox.
It doesnt go to catch and show me a MessageBox, which means that the code in try IS being runned.
Place a breakpoint and trace the execution in debugger. At first look, you are replacingthe filter expression, so you probably has other filter set than you want.
Bookmarks