Click here to Skip to main content
13,663,574 members
Rate this:
Please Sign up or sign in to vote.
See more:

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

1 solution

Rate this: bad
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.


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 | Cookies | Terms of Service
Web05-2016 | 2.8.180810.1 | Last Updated 30 Jun 2010
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

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