Category Archives: Web & Software Development

ASP.Net US States Dropdown List

For large projects I usually databind my dropdown lists, but sometimes you just need a no-nonsense dropdown list of US States. For all you folks Googling to save time, here’s that code. Enjoy! <asp:DropDownList ID=”DropDownListState” runat=”server”> <asp:ListItem Value=”AL”>Alabama</asp:ListItem> <asp:ListItem Value=”AK”>Alaska</asp:ListItem> … Continue reading

Posted in Web & Software Development | Tagged , | 22 Comments

C# How to get a QueryString value from the UrlReferrer

To get a QueryString value from the previous pages URL (aka: the UrlReferrer) you can use HttpUtility.ParseQueryString. Like this! NameValueCollection nameValueCollection = HttpUtility.ParseQueryString(Request.UrlReferrer.Query); string keyword = nameValueCollection["kw"]; “And that’s all I have to say about that.”

Posted in Web & Software Development | Tagged , | 4 Comments

ActionScript 3.0 – Global Variable & On Mouse Click Event

I got to do a little ActionScript 3.0 work today. I can’t help but wonder what type of things I could create using Flash and ActionScript. Seems like it could be pretty fun. Do ActionScript programmers make good rates compared … Continue reading

Posted in Web & Software Development | Tagged , , | 1 Comment

Why is "Content-type: text/html" displayed at the top of my CGI pages?

Recently one of my clients was having some issues with a CGI script they purchased. They’re running IIS on all of their servers, and oddly, this purchased script worked on one of their servers but not the other. On the … Continue reading

Posted in IT & Administration, Web & Software Development | Tagged , , | 1 Comment

How to delete an entire directory via SSH

I know this is probably common knowledge to Linux and Unix geeks. But every time I need to remove a directory with files in my NearlyFreeSpeech.Net SSH terminal I end up having to google for the command. So here it … Continue reading

Posted in IT & Administration, Web & Software Development | Tagged , , , | 13 Comments