I am building the text for a resume section label in databinding with 20 or
so data columns using a series of 20 or so code snippits like the following:
If e.Item.DataItem("EmployerDisplay") And e.Item.DataItem("Employer") <> ""
Sections.Text += "<BR><B>Employer</B>: " & e.Item.DataItem("Employer")
Is this an efficient way to build the section label's text property? Any
In each snippit, I call the data field twice, once to test for data and once
to add it to the control if present. Would it be better to pull the data
into a string or something?
Dim ds as String