Gridview rowupdating in asp net using c
For this tutorial, we will use Template Fields to customize the appearance of a list of employees.
Specifically, we'll list all of the employees, but will display the employee's first and last names in one column, their hire dates in a Calendar control, and a status column that indicates how many days they've been employed at the company. Three Template Fields are used to customize the display.
We'll look at this technique in this tutorial, too.Scott Mitchell February 2007 Download the code for this sample.Introduction Step 1: Binding the Data to the Grid View Step 2: Displaying the First and Last Names in a Single Column Step 3: Using the Calendar Control to Display the Hire Date Field Step 4: Showing the Number of Days the Employee Has Worked for the Company Conclusion About the Author Special Thanks The Grid View is composed of a set of fields that indicate what properties from the Data Source are to be included in the rendered output along with how the data will be displayed.While the Check Box Field, Image Field, Hyper Link Field, and Button Field field types allow for an alternate view of the data, they still are fairly limited with respect to formatting.A Check Box Field can display only a single check box, whereas an Image Field can display only a single image.