smartDBforms.NET API Reference

ITemplateSelector.SelectTemplateID Method 

The method must inspect the typeDescriptor and return the id of the most appropriate template.

[Visual Basic]
Function SelectTemplateID( _
   ByVal DataBindItem As DataBindItem _
) As String
[C#]
string SelectTemplateID(
   DataBindItem typeDescriptor
);

Parameters

DataBindItem
Describes the type of the datacolumn that is being processed

Return Value

The id of the template to be used. A template with such id must exists in the active template ascx file.

See Also

ITemplateSelector Interface | Adillis.SmartDBForms Namespace | DataBindItem | SelectTemplateID