Loooong variable strings
Date: 09/08/05
(Asp Dot Net) Keywords: no keywords
How can i concatonate all the values for this function while they
are on separate lines?
' I want each value on a new line is there a way do do this and still make te function
' ReplaceAccomIntValues() run? I am sure it can i just don't know what the proccess is
' Called or remember how to do it
<%# ReplaceAccomIntValues(DataBinder.Eval(Container.DataItem, "Garage"),
DataBinder.Eval(Container.DataItem, "Phone"),
DataBinder.Eval(Container.DataItem, "CarPark"),
DataBinder.Eval(Container.DataItem, "Tv"),
DataBinder.Eval(Container.DataItem, "TownCentre"),
DataBinder.Eval(Container.DataItem, "SwimPool"),
DataBinder.Eval(Container.DataItem, "Radio"),
DataBinder.Eval(Container.DataItem, "NearSlopes"),
DataBinder.Eval(Container.DataItem, "DgsAdmit"),
DataBinder.Eval(Container.DataItem, "Safe"),
DataBinder.Eval(Container.DataItem, "CrossCtry"),
DataBinder.Eval(Container.DataItem, "SuitDisable"),
DataBinder.Eval(Container.DataItem, "Balcony"),
DataBinder.Eval(Container.DataItem, "OnTLake"),
DataBinder.Eval(Container.DataItem, "Solarium"),
DataBinder.Eval(Container.DataItem, "Suite"),
DataBinder.Eval(Container.DataItem, "QutZone"),
DataBinder.Eval(Container.DataItem, "BeautyCb"),
DataBinder.Eval(Container.DataItem, "Minibar"),
DataBinder.Eval(Container.DataItem, "Tennis"),
DataBinder.Eval(Container.DataItem, "WhirlPl"),
DataBinder.Eval(Container.DataItem, "Elevator"),
DataBinder.Eval(Container.DataItem, "Sauna")) %>
Source: http://www.livejournal.com/community/aspdotnet/42800.html