Using TemplateFields in the GridView Control: Step 4-Showing the Number of Days the Employee Has Worked for the Company

Using TemplateFields in the GridView Control:
Step 4-Showing the Number of Days the Employee Has Worked for the Company
This VIDEO TUTORIAL will focus on demonstrating how to display the ‘Days on the Job’ column of the GridView control at run time. This is accomplished by adding a new TemplateField to the GridView control at design time. In order to calculate the number of days an employee has been with the company, a custom method ‘DisplayDaysOnJob’ is written in the code behind of the GridViewTemplateField.aspx web page. This method is called in the newly created TemplateField in the declarative mark of the web page to display the ‘Days on the Job’ column in the GridView control at run time. For detailed information and source code for this step, please refer to the original article.

This video presentation is available ONLY for REGISTERED users of this web site due to significant costs associated with data transfer of multimedia content.  Please register to view this video. Registration is FREE of charge and takes less than a minute to complete. Thanks for your consideration.

---Administrator


Copyright 2007-2012 by dotnetvideos.net   |  Privacy Statement  |  Terms of Use