November 2004 - Posts
If you could spend one week working and learning with an industry guru, who would it be?
Mine changes depending on what I am working on or what I am interested in at the time. Though, it's usually none other than Mr. Ian Griffiths.
The guy is simply money, and he doesn't even know it!
I'd consider Chris Sells. Though I am not sure I can sit with him for a week as I think our personalities would clash.
I think Ted Pattison would be pretty cool too.
I have heard ApplicationException. I have heard Exception.
From a MS source:
"......originally ApplicationException was intended to be derived from, however we've changed our tune on that one given how the hierarchy ended up developing. The new guidance is to derive directly from Exception in all cases where you would have derived from ApplicationException. The guidelines on MSDN still have the old text. We will be updating them, but probably not until after Whidbey goes out the door. As it happens, there's some discussion of the issue here:
I got this exception for the first time today:
Exception Type: System.Data.RowNotInTableException
Message: This row has been removed from a table and does not have any data. BeginEdit() will allow creation of new data in this row.
TargetSite: Int32 GetDefaultRecord()
After staring at it for a minute, I realized what I was doing.
Classic case of iterating through Rows collection and trying to call remove on a DataRow found, while still iterating the Collection.
Now, I temporarily store the DataRow and Remove it after iterating through all the Rows.