Lairhaven Logo

Lairhaven Enterprises

Making Computers Work for Business

529 High Street • Petersburg, VA 23803

804-850-5010

lisamorgan@lairhaven.com

Looking for hosting?

You don't have to decide between reliable and affordable. DiscountASP.Net is both!

Global ASP.NET Hosting Leader - Click Here

Developer's Asprin

All the Cures I Have Found for the Headaches We All Have

Human Aspirin

The sad fact is that most of us byte-bashers are at the mercy of others, at least some of the time. Unless you are in a strictly one-person shop, your hardware and software configuration is set up and maintained by those essential folks we call by the names of “Tech Support Guys”, “System Admins”, or [...]

Read more

Published: 11/23/2011 4:20:46 AM

Aspirin for @HTML.SelectListFor()

If you have used MVC and/or Razor syntax for any length of time, you have run into the need to populate a select list in your HTML. MVC and Razor offers the deceptively simple html helper @Html.SelectListFor…and then the trouble starts. The MSDN documentation on this is as obfuscated as most of the newer examples, with the [...]

Read more

Published: 11/2/2011 1:51:10 PM

In Hex, I’m Not That Old

One of my favorite sayings is: ”we measure our age by the years behind us, but we measure our youth by the dreams before us.” That saying has kept me feeling young. (Well, that and stating my age in base-16, where I am only 32.) I have seen its truth in action–a dear friend just spent [...]

Read more

Published: 10/27/2011 2:21:17 PM

Table Jump-list Aspirin for Razor syntax

Often we want to display a table with large amounts of data. If we want to use Razor syntax and MVC rather than server controls with paging, there are a few different solutions. I like this one for straightforward navigation through a long list of items sorted alphabetically. <!-- Model information, page title, layout, etc [...]

Read more

Published: 10/27/2011 8:05:45 AM

Inquiring Minds Want to Know…

Read more

Published: 10/26/2011 4:28:12 AM