APNSoft Controls [4.5.2.20] - API Reference
GridColumn.SetTemplateVariable Method
This method is used to set a value for user-defined variable in the column template.
[Visual Basic]
Public Sub SetTemplateVariable( _
ByVal Variable As String, _
ByVal Value As String _
)
[C#]
public void SetTemplateVariable(
string Variable,
string Value
);
Parameters
- Variable
- The variable.
- Value
- The value of the variable to set.
Example
[C#]
dg1.Columns["Manager"].SetTemplateVariable("$Manager$", "Bill");
[Visual Basic]
dg1.Columns("Manager").SetTemplateVariable("$Manager$", "Bill")
See Also
GridColumn Class | APNSoft.WebControls Namespace