Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
i want to use external physical combobox which is filled with dataset .i want this combobox to be available in the grid at particular cell address when i enter into that cell. navigation should be with keyboard.
thanks in advance
Posted
Comments
CHill60 11-Oct-14 4:35am    
Fine. Try it. You haven't described problem you're having
ranjeet11 11-Oct-14 4:55am    
i use following code but it does not available in Cell enter & also keyboard navigation are not working.
1-Formload
datagridview1.Controls.Add(conbobox1);

2-Cell Begin Edit
private void datagridview1_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
{
if (datagridview1.CurrentCell.ColumnIndex == 16)
{
conbobox1.Visible = true;
conbobox1.Size = datagridview1.CurrentCell.Size;
conbobox1.Location = datagridview1.GetCellDisplayRectangle(e.ColumnIndex, e.RowIndex, true).Location;
}
ranjeet11 11-Oct-14 6:11am    
please reply.its urgent
ranjeet11 13-Oct-14 4:24am    
is any one solve my problem?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900