Click here to Skip to main content
15,885,164 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 29-Jun-10 21:57pm
v2

1 solution

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900