Help on template ??

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
 
G

Guest

"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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top