I love the snow, but I'm stuck here in Australia with our drought. [:(] I am appreciating the photos that people in Seattle are posting this morning though.
Tags:
deb9840f-3da6-4e4c-9773-12543a6908c8|0|.0
Ok, so it finally happened. I am
no longer spam free even with the CAPTCHA. As I write this, someone thinks it is a good idea to waste their time and mine by entering spam comments through the CAPTCHA. Well, now you have to register. Have fun.
Tags:
2e165c2e-df0d-4692-9825-9ac4c8c24832|0|.0
Apart from the dash design, there is something else I find interesting about my new car. I occasionally get small static electricity shocks from the drivers door window when I get out of the car. I am assuming that this is because of the tinting on the window. I've never had electric shocks from plain glass before so I am guessing that glass doesn't conduct electricity, or at least not well enough to create an electric shock.
Anyone else experienced this before?
Tags:
57c8212e-0494-4046-9d9d-4e622263b254|0|.0
Here's a little tip. If your databound control is not firing it's databinding, make sure that the control and all of its parents are visible on the page. If it isn't visible, OnPreRender doesn't fire and therefore your databinding won't either. Makes a lot of sense. There is no point having the overhead of databinding if you are not going to display anything. That just wasted a couple of hours on a really simple mistake. [:(]
Tags: ASP.Net
272b60e8-912e-4f07-8ab5-f2b7cefe59ee|0|.0
Don't worry Dave, your implementation is still gold! Check this one out though.
Tags:
384e8302-3e63-4c44-be44-e75f989d54fc|0|.0
My lease was just about up on my car. I have had an Impreza RS for the last three years and it has been an amazing car.
After looking at the finances and getting a good deal, I upgraded (couldn't resist!).
Other than the obvious difference being the addition of the cop magnet, there are more subtle differences between these cars. One of which I find quite amusing.
This is the dash of the RS.
This is the dash of the WRX.
It seems that in a WRX, the speedometer was a distraction so it was moved to the side to make room for more important matters - engine happiness. Crazy...
Tags:
a2ac27e4-8e5f-4973-8aab-76a20040a80b|0|.0
Microsoft have just announced the RTM date of Visual Studio Team Edition for Database Professionals (aka DataDude). November 30 is the date. To me that seems like a really quick development of this great product. Great work guys.
Via Matt Nunn.
Tags:
49bd7cd7-d40d-47d7-bba6-08412127582d|0|.0
I have been having this interesting problem with my Community Server build. Each time the server reboots (usually due to a Microsoft update), the first time a request goes through to IIS, it gets this error (see the attached file for more details).
[SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
CommunityServer.Data.SqlCommonDataProvider.LoadSiteSettings(String application, Int32 settingsID, Boolean returnAll) +275
If I then log in and run IISReset, the database connections will be up and running again. I'm stumped.
Tags:
ade5c86c-d212-4c8d-8baf-0ee11a823eaf|0|.0
Visual Studio has this really nice setup page when you first run it after install where it asks you what kind of development environment you are familiar with, such as VB, C++, General etc etc. This is really cool, but not so cool when you pick the wrong one. Anyone know how to get prompted with this page again? There are no obvious registry entries that I can tweak.
Hey, don't bother answering. I just figured it out. The import/export settings dialog allows you to reset the IDE to one of those values. Go to Tools -> Import and Export Settings -> Reset all settings -> No, just reset settings, overwriting my current settings and then select the IDE style you want.
Tags:
ac59188a-4dfc-4dd9-933c-701256e2a25a|1|4.0
The using statement in the .Net framework is a really good way of neatly using and disposing of an object in your code. It is certainly much more elegant than having Try/Catch/Finally blocks where you manually dispose of your objects. I do however have a minor issue with nested using statements. I can't put my finger on it, but it just doesn't seem that 'right' to me. Maybe it just looks ugly.
The following is an example taken from John Papa's latest Data Points MSDN Magazine article:
using (TransactionScope ts = new TransactionScope())
{
using (SqlConnection cn2005 = new SqlConnection(cnString))
{
SqlCommand cmd = new SqlCommand(updateSql1, cn2005);
cn2005.Open();
cmd.ExecuteNonQuery();
}
ts.Complete();
}
As far as the messy look of it goes, I know that you can also do the following.
using (TransactionScope ts = new TransactionScope())
using (SqlConnection cn2005 = new SqlConnection(cnString))
{
SqlCommand cmd = new SqlCommand(updateSql1, cn2005);
cn2005.Open();
cmd.ExecuteNonQuery();
}
ts.Complete();
I have some vague recollection that someone had a problem with this way of coding the using statement.
Has anyone come across any best practices with regard to nested using statements?
Tags:
69380472-d847-4f13-9682-b34d346cdfc0|0|.0