When you use the comparison operators in SQL with the Where clause, you can remove the columns with null values.
For
.NET | December 11, 2009
Use WPF's ability to recognize and adapt to the graphics capabilities of its host machine to improve your application's performance.
You can call a JavaScript function when a user clicks a HyperLinkField in a GridView control—you just need to use this workaround.
For
Forms | November 6, 2009
Find out whether a DataGridView column is partially hidden.
A better approach than "hiding" columns in a DataGrid is simply to avoid creating the columns in the first place, as shown in this tip.
Predicates can often eliminate the need to write loops and iterations over arrays.
Split the string at the delimiter and then add each item to a new string list.
Use Visual Studio's refactoring features to extract class methods into an interface.
Create a running number column that shows the row number in a DataGrid control.
Don't write property setters and getters by hand--generate them!
For
.NET | September 17, 2009
When you don't want your solution bound to Visual SourceSafe, follow this procedure.
Using the CDO Message object, you can easily save content from a URL to an HTML archive (.mht) file.
For
.NET | September 1, 2009
Memorize these simple key combinations to copy and paste multiple items.
For
.NET | September 1, 2009
Here's a quick way to document your .NET projects.
When the built-in WCF encoders don't meet your needs, follow this example to create a custom encoder—and just plug it in!