Recent Posts

0
Comments

Ambiguous in the namespace problem by aghausman12

From the last few days, I was ignoring an error that keep coming at the compile time. I spent some two hours on it before but didn’t get it work. The error is quit confusing and of course difficult to manage. 'ApplicationSettingsBase' is ambiguous in...
6
Comments

Getting started with Unit Testing in C# by aghausman12

Introduction: In this post, I will explain you how can we write a unit test in c#. It is a basic guideline for those who wants a quick start. Unit testing is an integral part of any software that is developed. It is an advantage which most of us are either...
7
Comments

Get Countries Name in .Net by aghausman12

Introduction: In this post, I will explain you how can we get the countries name filled in any collection using .net without using any database. It is a regular task, which we all as developers did some past day but the difference is we used database...
Filed under: ,
7
Comments

Show Loading Message in Asp.net AJAX by aghausman12

In this post, I will explain you how can we show Loading message in asp.net ajax without using Update Progress. Now some one may asked, why do I want to skip Update Progress ? Well, there can be several reasons for this, fist of all you have to work on...
Filed under: , ,
9
Comments

Migrate from WordPress to BlogEngine.net by aghausman12

In this post, I will explain how to migrate a blog running on Word Press (Self Hosted) to BlogEngine. But before I start let me say, that Word Press simply rocks. The reason why I plan to switch my blog is customization. Since I am a dotnet geek, I really...
Filed under: , ,
7
Comments

How to show and select month/year in Calendar Extender by aghausman12

In this post I will explain you, How to make calendar extender control to show month / year view by default and instead of selecting dates how can we use calendar extender to select months. Before I start, let me say that I got extensive support from...
Filed under: , ,
3
Comments

Show images on Grid View from File Stream SQL Server 2008 by aghausman12

Background : In my last post about SQL Server 2008 new feature File Stream (Saving and Retrieving File Using FileStream SQL Server 2008) , we did an example of saving an image to the file stream and then retrieve it back and make it available for download...
Filed under: , ,
6
Comments

Custom Paging in Grid view by aghausman12

So, it takes too long for me to write this post. even though I completed the coding stuff a week back but it is really hard to manage time these days. In this post, I will explain and demonstrate you how to create custom paging in Grid view control. Paging...
Filed under: , , ,
3
Comments

Datatable to JSON by aghausman12

In this post I will explain you, how can we serialize Datatable to JSON. So that, it can easily pass to JavaScript to get the AJAX done. First of all fill a Datatable with some results. DataTable dt = new DataTable();   SqlConnection objSqlCon =...
Filed under: , , , ,
6
Comments

Authenticated File Access using HTTP Handler. by aghausman12

In this post I will explain you how authenticate the request directly coming to access a file that is downloadable. some thing like *.pdf or *.zip. Mostly, people make it working by creating an *.aspx page and then write binary of that file in Response...
Filed under: , ,
More Posts Next page »