Sunday, May 20, 2012

How to keep checkbox state across over gridview pages

The GridView control is pretty a handy control and is widely used to show the records such as report when building an ASP.NET site. The more you develop with it, the more you reckon how powerful it can be while presenting data. In this article, I will show you how to keep the checkbox state across over pages on the asp.net gridview control as below.
Keeping checkbox state over gridview pages

Sunday, May 13, 2012

Handling Concurrency with the Entity Framework in an ASP.NET Web Application

This tutorial shows options for handling concurrency in an ASP.NET web application that uses the Entity Framework. You will create a new web page that's dedicated to updating instructor office assignments. You'll handle concurrency issues in that page and in the Departments page that you created earlier.

A concurrency conflict occurs when one user edits a record and another user edits the same record before the first user's change is written to the database. If you don't set up the Entity Framework to detect such conflicts, whoever updates the database last overwrites the other user's changes. In many applications, this risk is acceptable, and you don't have to configure the application to handle possible concurrency conflicts. (If there are few users, or few updates, or if isn't really critical if some changes are overwritten, the cost of programming for concurrency might outweigh the benefit.)

Read More

Saturday, May 12, 2012

Multiple selecting the table cell using JQuery

A few year ago, it was challenging a lot for web developer because of intensive user requirement such as complex interactive user interface and design in web page. Nowadays, it can be solved it out easily due to JQuery that is designed to change the way that you write JavaScript. This example show you how to select multiple cells in table.

Multiple Selecting cells in table