<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Agha Usman</title><link>http://weblogs.asp.net/aghausman/default.aspx</link><description>Lives in Riyadh(Saudia Arabia) belong from Karachi (Pakistan) </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>The underlying provider failed on Open</title><link>http://weblogs.asp.net/aghausman/archive/2012/09/02/the-underlying-provider-failed-on-open.aspx</link><pubDate>Sat, 01 Sep 2012 18:13:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8884294</guid><dc:creator>aghausman12</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=8884294</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2012/09/02/the-underlying-provider-failed-on-open.aspx#comments</comments><description>The underlying provider failed on Open is an entity framework error and with a simple fix it is little difficult to sort out what is going wrong. 1) if you are using IIS 7 with Integrated Security in connection string. Make sure your IIS user have appropriate...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2012/09/02/the-underlying-provider-failed-on-open.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8884294" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Entity+Framework/default.aspx">Entity Framework</category></item><item><title>Ambiguous in the namespace problem</title><link>http://weblogs.asp.net/aghausman/archive/2011/02/28/ambiguous-in-the-namespace-problem.aspx</link><pubDate>Mon, 28 Feb 2011 16:05:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7714005</guid><dc:creator>aghausman12</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7714005</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2011/02/28/ambiguous-in-the-namespace-problem.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2011/02/28/ambiguous-in-the-namespace-problem.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7714005" width="1" height="1"&gt;</description></item><item><title>Getting started with Unit Testing in C#</title><link>http://weblogs.asp.net/aghausman/archive/2009/08/08/getting-started-with-unit-testing-in-c.aspx</link><pubDate>Fri, 07 Aug 2009 19:04:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7163765</guid><dc:creator>aghausman12</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7163765</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/08/08/getting-started-with-unit-testing-in-c.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/08/08/getting-started-with-unit-testing-in-c.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7163765" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Test+Driven+Development/default.aspx">Test Driven Development</category></item><item><title>Get Countries Name in .Net</title><link>http://weblogs.asp.net/aghausman/archive/2009/07/26/get-countries-name-in-net.aspx</link><pubDate>Sun, 26 Jul 2009 13:37:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7154755</guid><dc:creator>aghausman12</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7154755</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/07/26/get-countries-name-in-net.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/07/26/get-countries-name-in-net.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7154755" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category></item><item><title>Show Loading Message in Asp.net AJAX</title><link>http://weblogs.asp.net/aghausman/archive/2009/07/20/show-loading-message-in-asp-net-ajax.aspx</link><pubDate>Sun, 19 Jul 2009 19:47:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7150944</guid><dc:creator>aghausman12</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7150944</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/07/20/show-loading-message-in-asp-net-ajax.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/07/20/show-loading-message-in-asp-net-ajax.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7150944" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Asp.net+AJAX/default.aspx">Asp.net AJAX</category></item><item><title>Migrate from WordPress to BlogEngine.net</title><link>http://weblogs.asp.net/aghausman/archive/2009/07/20/migrate-from-wordpress-to-blogengine-net.aspx</link><pubDate>Sun, 19 Jul 2009 18:42:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7150897</guid><dc:creator>aghausman12</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7150897</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/07/20/migrate-from-wordpress-to-blogengine-net.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/07/20/migrate-from-wordpress-to-blogengine-net.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7150897" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Blog+Engine/default.aspx">Blog Engine</category></item><item><title>How to show and select month/year in Calendar Extender</title><link>http://weblogs.asp.net/aghausman/archive/2009/05/31/how-to-show-and-select-month-year-in-calendar-extender.aspx</link><pubDate>Sat, 30 May 2009 22:16:09 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7103036</guid><dc:creator>aghausman12</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7103036</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/05/31/how-to-show-and-select-month-year-in-calendar-extender.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/05/31/how-to-show-and-select-month-year-in-calendar-extender.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7103036" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Javascript/default.aspx">Javascript</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/AJAX/default.aspx">AJAX</category></item><item><title>Show images on Grid View from File Stream SQL Server 2008</title><link>http://weblogs.asp.net/aghausman/archive/2009/05/26/show-images-on-grid-view-from-file-stream.aspx</link><pubDate>Mon, 25 May 2009 21:15:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7097588</guid><dc:creator>aghausman12</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7097588</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/05/26/show-images-on-grid-view-from-file-stream.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/05/26/show-images-on-grid-view-from-file-stream.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7097588" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/SQL+Server/default.aspx">SQL Server</category></item><item><title>Custom Paging in Grid view</title><link>http://weblogs.asp.net/aghausman/archive/2009/05/19/custom-paging-in-grid-view.aspx</link><pubDate>Mon, 18 May 2009 20:17:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7092310</guid><dc:creator>aghausman12</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7092310</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/05/19/custom-paging-in-grid-view.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/05/19/custom-paging-in-grid-view.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7092310" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/c_2300_/default.aspx">c#</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Gridview/default.aspx">Gridview</category></item><item><title>Datatable to JSON</title><link>http://weblogs.asp.net/aghausman/archive/2009/05/16/datatable-to-json.aspx</link><pubDate>Sat, 16 May 2009 11:53:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7090258</guid><dc:creator>aghausman12</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7090258</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/05/16/datatable-to-json.aspx#comments</comments><description>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(); &amp;#160; SqlConnection objSqlCon =...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/05/16/datatable-to-json.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7090258" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/c_2300_/default.aspx">c#</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Javascript/default.aspx">Javascript</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/AJAX/default.aspx">AJAX</category></item><item><title>Authenticated File Access using HTTP Handler.</title><link>http://weblogs.asp.net/aghausman/archive/2009/05/08/authenticated-file-access-using-http-handler.aspx</link><pubDate>Thu, 07 May 2009 21:21:50 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7076358</guid><dc:creator>aghausman12</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7076358</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/05/08/authenticated-file-access-using-http-handler.aspx#comments</comments><description>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...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/05/08/authenticated-file-access-using-http-handler.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7076358" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/c_2300_/default.aspx">c#</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category></item><item><title>How to pass parameters to the dynamically added user control</title><link>http://weblogs.asp.net/aghausman/archive/2009/04/15/how-to-pass-parameters-to-the-dynamically-added-user-control.aspx</link><pubDate>Wed, 15 Apr 2009 15:35:54 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7046980</guid><dc:creator>aghausman12</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7046980</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/04/15/how-to-pass-parameters-to-the-dynamically-added-user-control.aspx#comments</comments><description>In this post, I will explain how you can pass parameter to the dynamically added (from code behind) User Control. Most of you might aware of how we can achieve this in web application project. Following is the code for that 1: Dim objCon As Control =...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/04/15/how-to-pass-parameters-to-the-dynamically-added-user-control.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7046980" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Vb.net/default.aspx">Vb.net</category></item><item><title>Get Repeater Control Output in String</title><link>http://weblogs.asp.net/aghausman/archive/2009/04/13/get-repeater-control-output-in-string.aspx</link><pubDate>Mon, 13 Apr 2009 15:30:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7045162</guid><dc:creator>aghausman12</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=7045162</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/04/13/get-repeater-control-output-in-string.aspx#comments</comments><description>In this post I will share with you a small code snippet which will help you to get the repeater control output in string variable. 1: Dim sb As New StringBuilder() 2: Dim objHtml As New HtmlTextWriter( New System.IO.StringWriter(sb)) 3: &amp;#160; 4: If dt...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/04/13/get-repeater-control-output-in-string.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7045162" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/Vb.net/default.aspx">Vb.net</category></item><item><title>Storing/Retrieving Hierarchies In SQL Server Database</title><link>http://weblogs.asp.net/aghausman/archive/2009/03/16/storing-retrieving-hierarchical-data-in-sql-server-database.aspx</link><pubDate>Mon, 16 Mar 2009 13:45:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6968235</guid><dc:creator>aghausman12</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=6968235</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/03/16/storing-retrieving-hierarchical-data-in-sql-server-database.aspx#comments</comments><description>Hierarchies are one of the most important part of many applications. It can be in shape of categories, family tree, organization charts etc. Maintaining hierarchies in data source like XML is not a big deal but when it comes to the database like SQL Server...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/03/16/storing-retrieving-hierarchical-data-in-sql-server-database.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6968235" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/TSQL/default.aspx">TSQL</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/SQL+Server/default.aspx">SQL Server</category></item><item><title>Saving and Retrieving File Using FileStream SQL Server 2008</title><link>http://weblogs.asp.net/aghausman/archive/2009/03/16/saving-and-retrieving-file-using-filestream-sql-server-2008.aspx</link><pubDate>Sun, 15 Mar 2009 20:08:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6965983</guid><dc:creator>aghausman12</dc:creator><slash:comments>12</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/aghausman/rsscomments.aspx?PostID=6965983</wfw:commentRss><comments>http://weblogs.asp.net/aghausman/archive/2009/03/16/saving-and-retrieving-file-using-filestream-sql-server-2008.aspx#comments</comments><description>FileStream data type is a very important feature of SQL Server 2008 and gradually getting popular amongst developer for it’s feasibility. And in the past few days specially after “ Configure SQL Server 2008 for File Stream ” post. I received several feedbacks...(&lt;a href="http://weblogs.asp.net/aghausman/archive/2009/03/16/saving-and-retrieving-file-using-filestream-sql-server-2008.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6965983" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/aghausman/archive/tags/asp.net/default.aspx">asp.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/c_2300_/default.aspx">c#</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/.net/default.aspx">.net</category><category domain="http://weblogs.asp.net/aghausman/archive/tags/SQL+Server/default.aspx">SQL Server</category></item></channel></rss>