Get value gridview rowupdating event
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.
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: Adult Dating, affair dating, sex dating