424,294 Members | 1,898 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,294 IT Pros & Developers. It's quick & easy.

How to copy GroupBox with Text items

P: 2
I have groupBox contain some textBox inside and need to copy this all textBox's with value
1 Week Ago #1
Share this Question
Share on Google+
1 Reply


P: 2
foreach (Control c in gbCancellation.Controls)
{
if (c is TextBox)
{
Clipboard.SetText(txt13.Text + txt14.Text + txt15.Text + txt16.Text);
}
}

Not working for me !
1 Week Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.