Get value gridview rowupdating event

Asp Alliance Register Edit My Profile Author List Write for Us About Asp Alliance Contact Us Privacy Policy Link To Us Advertise Subscribe Free Newsletter Newsletter Archive RSS Syndication . NET 2.0 Examples ASP Tutorials Learn ASPLearn VBScript Learn JScript Learn SQLLearn XMLSoftware Resources Shopping Cart Ecommerce Charts and Dashboards Other Resources Learn Java Learn Oracle Opinion / Editorial Crystal Reports Alliance WPF Resources AJAX Resources Silverlight Resources Free Tools Cache Manager Simple CMSReviews Book Reviews Product Reviews Expert Advice Books ASP.

NETLearn AJAXLearn Silverlight Learn Visual Studio Learn ADO. NETLearn Web Services Learn Controls Learn Biz Talk Learn Share Point Learn Mobile Learn SQLLearn SQL Reporting Learn Windows Forms Learn XMLLearn Crystal Reports Learn Far Point Learn Dev Express Examples ASP.

get value gridview rowupdating event-41

This article shows how Grid View can be templated programmatically at run time and how is it possible to do edit, insert and delete operations on it.

Although just binding the Grid View with some dynamically changing datatsource is a simple and straight job which does not need templated Grid View, it cannot facilitate us with the aforementioned operations.

To make the Grid View simultaneously an operational one, we need to template it dynamically which also requires dynamically generated queries for corresponding operations according to the Grid View's data source.

It is useful in many applications especially those that require data manipulation functionality of Enterprise Manager on client side i.e.

displaying any table of any database with options for all possible operations on client side.

This solution provided in this article will be the best and probably the only way to make it all possible.

This article shows how First, we should know what a template is. We may put this description at design time or at run time according to our need.

Generally, a template is description of how a particular item will be rendered at run time. At design time we can define templates declaratively using inline tags in aspx source of Grid View (the following listing shows this).

Since we are going for a case where we don’t know the number of fields of a table and their description (Name, Data Type etc) in advance therefore we need to create the templates dynamically according to fields of the particular table.

Tags: , ,