Click here to Skip to main content
15,898,999 members
Home / Discussions / C#
   

C#

 
GeneralRe: Use design patterns in the 15 puzzle game and ensure a rollback Pin
Nathan Minier2-Oct-17 1:35
professionalNathan Minier2-Oct-17 1:35 
Answeruse of design patterns in 15 puzzle Pin
Member 1276922230-Sep-17 0:23
Member 1276922230-Sep-17 0:23 
GeneralRe: use of design patterns in 15 puzzle Pin
OriginalGriff30-Sep-17 0:43
mveOriginalGriff30-Sep-17 0:43 
QuestionCreating Custom Message using data from Excel Pin
MRMOSES28-Sep-17 19:57
MRMOSES28-Sep-17 19:57 
AnswerRe: Creating Custom Message using data from Excel Pin
OriginalGriff28-Sep-17 20:10
mveOriginalGriff28-Sep-17 20:10 
GeneralRe: Creating Custom Message using data from Excel Pin
MRMOSES28-Sep-17 20:23
MRMOSES28-Sep-17 20:23 
AnswerRe: Creating Custom Message using data from Excel Pin
OriginalGriff28-Sep-17 20:26
mveOriginalGriff28-Sep-17 20:26 
GeneralRe: Creating Custom Message using data from Excel Pin
MRMOSES28-Sep-17 21:41
MRMOSES28-Sep-17 21:41 
Hi,

Maybe this will help in better explaining what i wish to achieve.

I have excel document containing Cell Numbers and Names of customer. I want to be able to write custom text messages to all customers by concatenation typed text and data on excel such that i will be able to send same message to all the customers on the list for example. I will type "Hello" then insert the column name {Name} and proceed to add more text. This should ready "Hello Mike" where Mike is obtained from say cell A2 on my excel.

I am using C# and I have designed form as follows:
1. Option to select the excel with the cell numbers and name.
2. Text box, where am typing my text.
3. I have drop down list that populates the column headers from excel (eg Name, cell number).
4. I have a multi line text box where my messages will be displayed

I wish to compose my message as follows:
a. Enter text eg "Hello" and press add text to add text to the multi line text box
b. Select the column eg Name and click on Add Column to add column variable to the multi line text box
c. The text area should show 'Hello Mike' generated by Hello {Name}.

Am stuck at the point of merging/concatenation my typed text and data from excel to form one complete message.

Here is the screenshot of what i have done so far.
sshot.PNG - Google Drive[^]
GeneralRe: Creating Custom Message using data from Excel Pin
OriginalGriff28-Sep-17 22:10
mveOriginalGriff28-Sep-17 22:10 
QuestionSending a Url and querystring XML and getting a response, USPS Rate Request. Pin
jkirkerx28-Sep-17 7:28
professionaljkirkerx28-Sep-17 7:28 
AnswerRe: Sending a Url and querystring XML and getting a response, USPS Rate Request. Pin
jkirkerx28-Sep-17 7:42
professionaljkirkerx28-Sep-17 7:42 
GeneralRe: Sending a Url and querystring XML and getting a response, USPS Rate Request. Pin
jkirkerx28-Sep-17 8:40
professionaljkirkerx28-Sep-17 8:40 
GeneralI got this now Pin
jkirkerx28-Sep-17 10:07
professionaljkirkerx28-Sep-17 10:07 
QuestionHow can I add a value for each pixel Pin
WI54M27-Sep-17 19:18
WI54M27-Sep-17 19:18 
AnswerRe: How can I add a value for each pixel Pin
OriginalGriff27-Sep-17 19:41
mveOriginalGriff27-Sep-17 19:41 
QuestionExporting the placeholder and its graph to excel sheet Pin
Atul Naik27-Sep-17 8:46
Atul Naik27-Sep-17 8:46 
Questionhow to change each pixel color Pin
WI54M27-Sep-17 1:46
WI54M27-Sep-17 1:46 
AnswerRe: how to change each pixel color Pin
Dave Kreskowiak27-Sep-17 1:47
mveDave Kreskowiak27-Sep-17 1:47 
GeneralRe: how to change each pixel color Pin
WI54M27-Sep-17 18:56
WI54M27-Sep-17 18:56 
AnswerRe: how to change each pixel color Pin
Eddy Vluggen27-Sep-17 1:52
professionalEddy Vluggen27-Sep-17 1:52 
SuggestionRe: how to change each pixel color Pin
Richard Deeming27-Sep-17 2:56
mveRichard Deeming27-Sep-17 2:56 
AnswerRe: how to change each pixel color Pin
Pete O'Hanlon27-Sep-17 3:13
mvePete O'Hanlon27-Sep-17 3:13 
Questiontest Pin
Marinel7727-Sep-17 0:29
Marinel7727-Sep-17 0:29 
AnswerRe: Need help with school projects Pin
Pete O'Hanlon27-Sep-17 0:33
mvePete O'Hanlon27-Sep-17 0:33 
QuestionRe: Need help with school projects Pin
Eddy Vluggen27-Sep-17 0:46
professionalEddy Vluggen27-Sep-17 0:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.