Skip to content

Category Archives: C#

Dynamic Lookup in C# 4

04-Feb-08

Charlie Calvert's Community Blog : Future Focus I: Dynamic Lookup: ""
Charlie Calvert is discussing a new feature in C# called dynamic lookup
The next version of Visual Studio will provide a common infrastructure that will enable all .NET languages, including C#, to optionally resolve names in a program at runtime instead of compile time. We call [...]

Adding values to the DataGridViewComboBoxCell at runtime

12-Sep-06

Welcome to hackville population me.
The DataGridViewComboBoxCell won't allow values to be entered in the cell if they are not in the Items collection. Since I can't modify the Items collection if the DataSource property is set, I add value of the cell that's causing the DataError to the DataSource for the combo box. Since [...]

Visual Studio Express editions free for 1 year

07-Nov-05

Wow. Microsoft FINALLY gets it. Even if just a little bit.
For 1 year, starting Nov 7th, you can download and use any of the Visual Studio Express Editions for free.
I often said the only reason I'm experimenting with Cocoa development is that XCode comes with OS X for free. If I had to pay $400 [...]

gah, what the hell is this line doing?

22-Aug-05

Kids, don't try this at home. This is a sick line.
conn = tr != null ? tr.Connection : conn != null ? conn : stmt.SessionBroker.Provider.GetConnection();