Add one line to a multi-line TextBox

  • Thread starter Thread starter Curious
  • Start date Start date
C

Curious

Hi,

I have an existing TextBox, textAddress, that displays a multi-line
address (including recipient name, street address, town, state and zip
code).

Now I want to add country name as the last line in textAddress. How
can I add it to this TextBox?

FYI, I currently have:

textAddress.Text = StringUtils.FormatAddress(new RecordAdapter(new
DataRecordAdapter(lRow)));

lRow contains address without country name.

Thanks!
-Emily
 
What is StringUtils.FormatAddress? Is that a homegrown routine? Is the
Country in lRow? Can't you just change your FormatAddress method
accordingly?

Robin S.
 
Back
Top