Seeing a post earlier today about removing results from search - has prompted me to ask this question. I checked whether the same method was relevant to this form, but it appears not.
I would like to remove entries from this screen which are not in warehouse = CU.
Change your foreach to a forloop and count backwards (Long story but if you are removing from within a foreach itâll trigger a logic error, âYou canât modify the collection while iteratingâ)
Got the loop bit identifying the rows that I need. When trying to delete using the below code you supplied, I get:
System.Drawing.Bitmap CS7036 There is no argument given that corresponds to the required formal parameter âentityâ of âIceDataContextExtensions.Delete(ObjectSet, T)â
So I think Iâm reading that I need to pass an object to the Delete() method, but what object?