たとえば、dataGridView セルのフォーム 1 の単語は、one;two;three ..... です。
この表示は、テキストボックスの form2 で個別に行いたい:
text in textBox1: one
text in textBox2: two
text in textBox3: three
これを解析するにはどうすればよいですか?
このようにformOneにデータグリッドを埋めます:
foreach (DataGridViewCell cell in dataGridView1.SelectedCells)
{
string text = "";
for (int i = 0; i < emails.Length ;i++)
{
if (emails[i].ToString().Trim() != "")
{
text = text + emails[i] + ";" ;
dataGridView1.Rows[cell.RowIndex].Cells[col].Value = text;
}
}
}