.Net, ASP.NET, C#, Programming

C# Getting the Prior Month Start and End Dates with the Correct Times

It seems like a simple task, but can end up being a bit tricky depending on how you write your code. I’ve seen a lot of examples of getting the start date and end date for a month but a lot of them are inaccurate or even incomplete and fail to take certain situations into account. In this article I’ll go through an example of playing around with getting the start day and end day of the previous month along with finding the right starting and ending times.

Continue reading “C# Getting the Prior Month Start and End Dates with the Correct Times”
.Net, ASP.NET, C#, HTML, Programming, VB.NET, Web Development, WebForms

How to Launch Remote Desktop in all Browsers via a Web Link

Giving your users the ability to launch Remote Desktop from a Web link via RDP file is useful in a number of different scenarios. This is especially the case on a corporate Intranet where you want to maximize usability for employees and minimize the number of clicks.

Continue reading “How to Launch Remote Desktop in all Browsers via a Web Link”
.Net, ADO.NET, ASP.NET, C#, Data Sources, Database, Excel, Excel 2003, Excel 2007, Excel 2010, Programming, Software, VB.NET

How to Loop Through an Excel Spreadsheet in a .NET Application

Import data from MS Excel into your .NET code

MS Excel is a great tool that a lot of employees at a company are very familiar with using. It helps structure and organize data in a way that is very intuitive to users without the users needing to be especially technical. So it should come as no surprise that sometimes you will want to write code to interface with data from Excel. Continue reading “How to Loop Through an Excel Spreadsheet in a .NET Application”