New ASP.Net MVC GridView Extension
I needed a table builder for a project I was working on. Well I didn’t need it, I was just tired of having to rebuild a table each time I needed one. So I came up with an obvious solution… kind of… I created a helper method! My Super Kick Ass GridView! Here is an excerpt of how to use it GridView – Download me!...
Read MoreC#, Enums and Strings oh my!
I find myself having to lookup the same snippets of code a lot. You know, those insignificant lines of code you “never” use. Recently I have had to look this up twice, and hopefully by placing it here, I will never need to again (knock on wood). So again, without further ado… drum roll please… enum CcType { Visa, MasterCard, Discover, Amex, Solo, Maestro } CcType ccType =...
Read MoreAsp.Net MVC DropDownList With OptGroups
So rarely do I use opt groups, that I had to actually look up their syntax! So when I wanted to use them in a project I’m working on in Asp.Net MVC, I wasn’t very shocked the MVC DropDownList extension didn’t exist for it. So I ended up writing a bit of my own. Stole some code here and there (no shame in that). So without further ado, for everyones enjoyment, I present...
Read MoreLinq.Js
Most people who hop on my site don’t know much about me, but I am a complete C# fanboy. As such, I love 90% of the .Net framework, and almost all of that love goes to LINQ (Language integrated queries) and LINQ to SQL. I use it not on a weekly or daily basis, but on an hourly basis. Now that it is around, any time I have an array of data, I find myself always resorting to LINQ. So when a...
Read MoreTwitter Feed Reader
I have done this many times over, and for once I plan on publishing the code so I can reuse it. This is a Twitter Feed Reader, you pass it the user_status RSS url, with the number of updates you want. This should work flawlessly, but if it doesn’t… I’m sorry. If you need any help implementing this, just let me know. I’m always around to help. public class...
Read MoreAdTools 2 Years Later
2 years ago, I launched a service called AdTools. It was never meant to be used by anyone but me, but instead of spending a lot of time to lock it down to myself, I opened it up to the world. I never mentioned it to anyone, never marketed it, just used it on all of my craigslist postings. I had maybe 1 support email a week from it (which I thought was amazingly high) for the first few...
Read More