Click here to Skip to main content
13,198,325 members (76,272 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
Hi,

I am looking for a way to provide an interface where a user can enter text & combine variable data placeholder, at any random place in the text and save that to a SQL database, in such a way that when I construct the subject of an email I can retrieve the hard text, and combine it with the data for the current record (in the position where the placeholders were saved), and plug that into the email subject.

Does anyone have any ideas on this please?

PS it is a .NET VB Windows application, & I have only used web components in web applications before.
Posted 29-Jun-10 21:01pm
Updated 29-Jun-10 21:57pm
Johnny J.168.9K
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

This looks like an option for you :
String.Format("This is a {0}", "value")


Decorate your "hard text" with "{x}" markers and use your field-data as value.

Cheers
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01 | 2.8.171020.1 | Last Updated 30 Jun 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100