This is one of those very annoying things you just have to ask the developers of the Linq Library: “Why don’t you throw an exception for us??”

When you use Linq to SQL you need to make sure that the table has a primary key specified. Otherwise when you call SubmitChanges nothing will happen!

How painful!

You may also like

VMWare hard lessons

I learned a hard lesson today when I decided to give more hard drive space to one of our virtual machines. I needed some more space for our large SQL files and decided to take advantage of remaining 35GB of storage on that drive. Sounds pretty straightforward doesn’t it? Now it keeps giving this error message: “Insufficient space on datastore”.

Keep Reading

ASP.NET Button – Prevent Double Clicks Part 2

A while ago we posted an article on how to prevent double clicks on buttons in ASP.Net. This solution was a little code heavy for our liking and so after a bit of playing around we came up with this simple jQuery solution.

Keep Reading

Newsletter sign up

Every couple of months we send out an update on what's been happening around our office and the web. Sign up and see what you think. And of course, we never spam.