我不能编辑文本框中的文本。我需要文本框在开始时显示文本,然后才能进行编辑。 imageName显示在文本框中,但我不能编辑它到别的东西。如何在使用Text box.text设置的文本框中编辑文本?
private void image_NameTextBox_TextChanged(object sender, EventArgs e)
{
string imageName = (dictionaryDataSet1.Tables[0].Rows[selectedIndex]["Image Name"].ToString());
image_NameTextBox.Text = imageName;
}