I am assuming that I have to play with record of persons (First Name, Last Name, Age) and I will refer only these data through out this article. just to give you flexibility to not show scroll bar for long screens.

gridview rowupdating event in c net-64

dating a much older woman - Gridview rowupdating event in c net

event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.

NET with C# 3-Tier architecture generally contains UI or Presentation Layer, Business Access Layer (BAL) or Business Logic Layer and Data Access Layer (DAL). Independence - layers are established so that if one is modified (to some extent) it will not affect other layers. Reusability - As the layers are seperated, it can exist as a module that can be reused by other application by referencing it.

Presentation Layer (UI) Presentation layer cotains pages like or windows form where data is presented to the user or input is taken from the user. Hope this article helped you understanding 3-Tier architecture and desiging it. Updated on July 01 2008: Source Code attached Full Name: Sheo Narayan Member Level: Honorary Platinum Member Status: Administrator Member Since: 7/8/2008 PMCountry: India Regards, Sheo Narayan MVP, Author, Writer, Mentor & architecting applications since year 2001.

I am using a Template Field to display my Edit, Update and Cancel 'buttons' in the first column of the Grid View within respective Item Template and Edit Item Template fields.

Within the Item Template I have an Image Buttong with a Command Name of "Edit".

One has it's Command Name = "Update" and the other "Cancel".

My problem lies in that the click on the Update Image Button posts back, but neither the Row Command nor Row Updating events get triggered.

"If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google , Twitter, Linked in and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox .