does anyone knows how to append a string to a variable name?
public void editForm(DataGridView dg)
{
for(int i=0; i<=dg.Columns.Count-1;i++)
{
TextBox txt=new TextBox(); //I want to append i to txt. like -->TextBox txt&i
}
}
Then I'll add the textboxes created to a Form.