New ASP.Net MVC GridView Extension

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 More

C#, Enums and Strings oh my!

C#, 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 More

Asp.Net MVC DropDownList With OptGroups

Asp.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 More

Twitter Feed Reader

Twitter 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 More

Gif2Png – Gray scale Only

Gif2Png – Gray scale Only

I’m working with a client that saved out a bunch of motifs in to “transparent” gifs, but wants those motifs on a background “without the jaggy” white pixes. After doing the first 10 or so by hand in PhotoShop (a pain in my rear), I wrote a little C# app to handle all of this for me. It assumes the image is gray scale, and that white/transparent is the background. Use...

Read More