Search results for query: *

  1. E

    Question Recursive CTE Solution

    I'm having trouble wrapping my head around Recursive CTE's in SQL Server. My dataset (simplified version below for copy/paste) is a large table containing hundreds of thousands of chains. Each chain is made up of a number of components, linked together in a specific order for each chain. I've...
  2. E

    Generics: List Of Class Implementing Generics

    Sometimes I just can't wrap my head around Generics... For the sake of simplicity, I've boiled everything down to a very simple example that you can copy and paste. I have a generic interface which is restricted to types that implement IComparable. I have a Class that Implements this interface...
  3. E

    Question For Each Iterating Through CheckedListBox.Items Collection Throws Exception

    I have a CheckedListBox with Items in it. If I iterate through the Items collection with a For Each loop and check if the SelectedItems collection contains the current Item, the For Each loop breaks on Next, acting as if I modified the collection. But I didn't modify the collection at all. I've...
  4. E

    Question ListViewItem Drag & Drop With Group Header

    You'll find sample code to illustrate the problem below. Make a new Form in a VS 2013 WinForm Project, paste and run. I have 2 ListView controls and I have Drag & Drop working between the controls. Items can be moved from one control to the other. Items can be rearranged within the control as...
Back
Top