Help on template ??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,

Does anyone could explain me in simple words what are all this template
about ?
When to use them ?
How to retriev data of the field if template is used ?

I am preparation my ASP exam and I am stuck in that functionnlaity which is
not well explain and poor samples in MS press books

thnaks for your help
regards
serge
 
"Templates allow for customization of a Web control's rendered output by
providing a means for a page developer to specify HTML elements, Web
controls, and databound statements."
http://msdn.microsoft.com/library/d...aspp/html/aspnet-buildtemplatedsrvrcntrls.asp

For example, if the standard display of automatically generated columns on a
datagrid-bound to a datasource does not meet the requirements of your
project, you can use Templates to define a different display (by adding
dropdownlists, checkboxes, etc. instead of the default labels and textboxes)
for the rows on the datagrid.
 
Back
Top