1
General Board / Setting Tag
« on: April 25, 2011, 11:29:53 pm »
Hi,
In my DDL,i am setting the Tag as below,Attribute Template
%if attType == "Text" %
$Comment="Size Tag implementation"
$len=%attTag:"Length"%
%if $len==""%
Tag{name="Length" value="100"}
%endIf%
%endIf%
[highlight]$len=%attTag:"Length"% [/highlight]
$type="nvarchar("+ $len+")"
type =%qt%$type%qt%
when i read the tag value(highlighted code) i am surprised to see that the value is blank.Any pointers on this?
Thanks
In my DDL,i am setting the Tag as below,Attribute Template
%if attType == "Text" %
$Comment="Size Tag implementation"
$len=%attTag:"Length"%
%if $len==""%
Tag{name="Length" value="100"}
%endIf%
%endIf%
[highlight]$len=%attTag:"Length"% [/highlight]
$type="nvarchar("+ $len+")"
type =%qt%$type%qt%
when i read the tag value(highlighted code) i am surprised to see that the value is blank.Any pointers on this?
Thanks