Geeks With Blogs

AzamSharp Some day I will know everything. I hope that day never comes. May 2008 Entries
So long GeeksWithBlogs!
I have blogged on GeeksWithBlogs for a long time and I have enjoyed every second of it. For the past couple of days I have been working on my own blog and today it has been launched. I will be blogged at I will miss GeeksWithBlogs and I thank everyone for creating such a wonderful blogging community. As of today (May 27 2008) this blog is officially closed. Please update your links to Thanks, AzamSharp ......

Posted On Tuesday, May 27, 2008 7:06 AM

Article Published: Only Updating the Changed Rows in GridView Control
Matt Berseth wrote a very interesting article on “Bulk Inserting Data Using the ListView Control". The idea is to give the user an Excel like interface where they can edit the rows with custom data and finally click the update button to persist the data in the database. Matt’s solution was great but lacks a very important detail. There was no way to know what rows were changed by the user. Matt took the road to update all the rows whether they were changed or not. In this article we are going to ......

Posted On Sunday, May 25, 2008 10:23 AM

Updating Only Changed Rows Using GridView Control
Mark Berseth wrote a very interested article about Bulk Insert Data Using ListView Control. Basically, the ListView control is displayed with the TextBox controls in each row (like MS Excel). Now, the user can write in the TextBox and then use the submit button to insert all the new rows to the database. This works well when you are inserting the data into the database. The problem starts when you try to update the data which is already in the database. Let's say you populate the ListView with some ......

Posted On Thursday, May 22, 2008 11:40 AM

Article Published: A Look into JQuery Ajax API

I have just published an article on GridViewGuy. The article talks about the JQuery API and how you can use it in your application. Check out the link below:

A Look into JQuery API

Posted On Sunday, May 18, 2008 11:00 AM

Dealing with LINQ to SQL DataContext Issues!
The DataContext is an object representation of the database. It is responsible for all the operations performed on the database. One of the biggest issues when working with LINQ to SQL is the life time of an object when part of the DataContext. The DataContext is designed in a way that it will only handle the objects that were created by it. Although you can attach objects of one DataContext to a different DataContext but when you do this all hell breaks loose. Let's take a look at the example below ......

Posted On Saturday, May 17, 2008 5:57 AM

On a Quest to find a better ORM Framework
There are plenty of ORM Frameworks available to use and I have tried few of them. In this post I will describe my experience with those frameworks. NHibernate: NHibernate was the first ORM framework that I tried. The real power of this framework is that it supports many different kinds of databases. The bad thing which pushed me away was the complicated XML mapping and lazy loading. I was never able to get lazy loading to work properly. I searched on forums and saw many other developers facing the ......

Posted On Monday, May 12, 2008 5:30 AM

Don't Make Your Users Handicapped!!
Some time back I was working on a web application which was used to give out exams to the students. Teachers can log in and create their own exam and release it to the students. After some time we realized that most of the teachers were not releasing the exam to the students hence students were not able to take the exam. A solution was suggested that why not create copies of the exam for instructor when the admin uploads the exam and assigns it automatically to the students. This idea had disaster ......

Posted On Monday, May 12, 2008 3:41 AM

Select All CheckBoxes in GridView Using JQuery
Selecting checkboxes inside the GridView control is a very common operation and that is why I have several articles and videos dedicated to this subject. Selecting CheckBoxes Inside GridView With a Twist VIDEO: Selecting CheckBoxes Inside GridView Recently, I was playing around with JQuery library and thought of implementing the same scenario using the library. Here is the code used to perform the SelectAll and DeSelectAll function. <script language="javascript" type="text/javascript"> $(document).ready(function() ......

Posted On Saturday, May 10, 2008 10:52 AM

Two New Features to
I just added few more features to These features include the following: 1) My Refactorings Page: The "My Refactorings" page simply displays the posts that the user has made and the posts that user has participated in. 2) Categories Menu Updated. The Categories menu have been updated and now it displays the number of posts in the particular category. There are many different features that I am currently working on which includes rating the refactored code, option to follow the ......

Posted On Friday, May 9, 2008 3:33 PM

ASP.NET MVC is going pretty HOT these days so I thought I should post some links to the ASP.NET MVC Videos which are hosted on Video: Introduction to the ASP.NET MVC Framework Video: ASP.NET MVC Framework Unit Testing Video: Passing Parameters Across Pages Using ASP.NET MVC Framework Video: Url Rewriting Using ASP.NET MVC Framework Video: Introduction to the MVC Toolkit Video: Using JavaScript with the ASP.NET MVC Framework Video: Implementing Controller Action Authentication ......

Posted On Thursday, May 8, 2008 5:17 AM

UrlRewrite Using RewritePath Article Published

I have just published an article on The article explores the workings of URL Rewriting mechanism using RewritePath. You can check out the article using the link below:

Url Rewriting Using RewritePath

Posted On Tuesday, May 6, 2008 2:36 PM

UrlRewriting Pains and Fixes!!!
When developing I was advised to create friendly URLS so that search engines like Google, Yahoo, Live Search etc would be able to index it. Ben Sheirman suggested that I should try out IRouteHandler interface which was originally part of the ASP.NET MVC Framework. I implemented the URL-Rewriting solution which worked on my local machine but failed on the production. The web host guys told me that currently they don't support ASP.NET 3.5 Extensions Preview (I don't think that ......

Posted On Tuesday, May 6, 2008 5:01 AM

RefactorCode Released!!! ..... BETA :)
For the past couple of days I have been working on a new website called The purpose of the website is that user's can submit their code and other users can help to improve the existing code hence, refactoring the code. Below you can read the "About" section of the RefactorCode website. Refactoring is a technique to change the existing ugly code and make it beautiful without changing the workings of the code. In short, making the code suck less! Our website RefactorCode is developed ......

Posted On Saturday, May 3, 2008 9:40 AM

Copyright © Mohammad Azam | Powered by: