public List<stringMultipleValues
{
get {
List<stringvalues = new List<string>();
values.Add ( textBox1Name.Text );
values.Add ( textBox2Name.Text );
return values;
}
}
You might want to explain what you're trying to do. That looks like its
heading down a hacky path.
(Maybe I'm wrong..but it be good to ask either way).
"Steve" <st******@ston.niwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
If I have the following code, what do I have to change to
make it return more than one value?
public string Records
{
get { return textBoxName.Text; }
//return textBoxAddress.Text;
//return textBoxNotes.Text;
}
I can only return one value from my dialog box, but I would like
to return a few more values.
Thanks
Steve