I have 2 forms.. gridForm has a dataGridView gets its data from database, the second form editFormhas textboxes similar to the gridView Columns.
i want to select a row in the grid then click an edit button and the editForm must shown and the textboxes have the values from grid
gridForm
private void dataGridView1_CellContentClick_1(object sender, DataGridViewCellEventArgs e)
    {
        if (e.RowIndex >= 0)
        {
            DataGridViewRow row = dataGridView1.Rows[e.RowIndex];
            // when i put this line only , it works right.
            edditContactForm.edditContactNameSetter = row.Cells["contactNameGridViewColumn"].Value.ToString();
            // this also with the previous is working right too.
            edditContactForm.edditJobTitleSetter = row.Cells["jobTitleGridViewColumn"].Value.ToString();
            // the problem appears here and the exhibition shown to this line and any similar lines under it. 
            edditContactForm.edditCompanyNameSetter = row.Cells["CompanyNameGridViewColumn"].Value.ToString();
        }
    }
editForm:
    public string edditContactNameSetter 
    {
        set { txtContactName.Text = value; }
    }
    public string edditJobTitleSetter
    {
        set { txtJobTitle.Text = value; }
    }
    public string edditCompanyNameSetter
    {
        set { txtCompanyName.Text = value; }
    }
exhibition:
The exhibition appers when i select any row from the grid

 
    