Jun 25 2014

Comment by Seth Spearman on Finding node order in XML document in SQL server

+1 for your "rue most use of XML". It really sucks when you have to select nodes much less update them.
Jun 25 2014

Comment by Seth Spearman on How do I update an XML column in sql server by checking for the value of two nodes including one which needs to do a contains (like) comparison

None of these gave me the perfect solution in that I think what I needed done cannot be done (update multiple nodes that match even when the condition can be true of multiple nodes.)
Jun 03 2014

Which DataGridView event do I use when I want to change the type of a cell at runtime?

I have a winform application that has a user control that is using a DataGridView control on it.

When rendering the DataGridView I want some of the rows Quantity columns cells to be read only DataGridViewTextBox cells and other rows to a a DataGridViewComboBoxCell.

What is the appropriate DataGridView event to use this. CellFormatting or CellPaint or some other event?

Jun 03 2014

Which DataGridView event do I use when I want to change the type of a cell at runtime?

        <p>I have a winform application that has a user control that is using a DataGridView control on it. </p>

When rendering the DataGridView I want some of the rows Quantity columns cells to be read only DataGridViewTextBox cells and other rows to a a DataGridViewComboBoxCell.

What is the appropriate DataGridView event to use this. CellFormatting or CellPaint or some other event?