Category: #Programming

Select Distinct from DataTable

To select Distinct data from a particular DataTable, you need to add the following two methods:

ContextSwitchDeadlock was detected

Last week i was debugging an application and after while the following exception was being loaded: […]

Unknown server tag ‘ajaxToolkit:CalendarExtender’

When I launched our company’s Intranet this morning, the following Exception was loaded: Unknown server tag […]

Theme cannot be found in the application or global theme directories

I was creating an application and everything was working fine. But when i uploaded the website […]

There is already an open DataReader…

Sometimes, when I try to get data from the SQL Server the following exception is loaded: […]

Visual Studio 2005 – Crashes Randomly

    Last week i was using Visual Studio 2005 and all of a sudden it […]

ASP.Net AJAX – Export to Excel/Word

If you are using Update Panel and try to Export gridview contents to EXCEL or Word, […]

Render Local Report on Button Click

I needed to render a local report to pdf on a button click. This was not […]

Get Month Name

In Sql Server to find the month from a date you use the following command: Month(DateTime) […]

Multiple Sitemaps

A problem that i found lately was when i needed to have multiple sitemaps. Why? I needed […]