Click here to Skip to main content
15,892,674 members

Comments by rosyp (Top 13 by date)

rosyp 24-Sep-12 15:49pm View    
Reason for my vote of 5
becoz i m searching for this
it very simple way.
rosyp 24-Sep-12 15:42pm View    
very nice
rosyp 23-Jan-12 11:06am View    
thanks
rosyp 23-Jan-12 11:05am View    
c = dataGridView1.CurrentCell.ColumnIndex;
r = dataGridView1.CurrentRow.Index;
if (dataGridView1.CurrentCell.ColumnIndex == 1 || dataGridView1.CurrentCell.ColumnIndex == 4)
{


if (e.KeyCode == Keys.Enter)
{
if (dataGridView1.Rows.Count > 1 || dataGridView1.CurrentCell.ColumnIndex != 0 || dataGridView1.CurrentCell.ColumnIndex != 5)
{
try
{
comboBox2.Visible = true;

this.comboBox2.Location = this.dataGridView1.GetCellDisplayRectangle(c, r, true).Location;
this.comboBox2.SelectedItem = this.dataGridView1.CurrentCell.Value;
this.comboBox2.Show();
this.comboBox2.SelectedItem = dataGridView1.CurrentCell.Value;
this.comboBox2.DroppedDown = true;
}
catch { }
}

}

}

}
rosyp 20-Jan-12 9:10am View    
thanks dear.....very good gestation .....
again thanks ( have no word for you)