B
Bob Rosen
In InterDev, I frequently defined constants for my data-table field names,
then used #include statements to refer to the file(s) with those
declarations and substituted the constant declaration in any place where I
needed to refer to the field name. Is there any way to do the same sort of
thing in the <%# Container.DataItem (<field name>) %> references inside
..aspx files, for example, when creating DataLists (i.e. use a string
constant instead of a hard-coded string)?
Bob Rosen
then used #include statements to refer to the file(s) with those
declarations and substituted the constant declaration in any place where I
needed to refer to the field name. Is there any way to do the same sort of
thing in the <%# Container.DataItem (<field name>) %> references inside
..aspx files, for example, when creating DataLists (i.e. use a string
constant instead of a hard-coded string)?
Bob Rosen