tab control in datagridview visual 2013

hello
i want use tab control in datagrid so user can enter data directly in datadgridview
ajaymaster1558Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
0
Jacques Bourgeois (James Burger)PresidentCommented:
Can you explain in more details what you want to do.

A DataGridView contains cells. I do not see what you mean by using a TabControl in a datagrid.

Also, make it clear whether you are talking about a DataGridView or a DataGrid. They are not the same thing.
0
ajaymaster1558Author Commented:
i want it in DataGridView
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Jacques Bourgeois (James Burger)PresidentCommented:
Can you explain in more details what you want to do.

 A DataGridView contains cells. I do not see what you mean by using a TabControl in a datagrid.
0
ajaymaster1558Author Commented:
i want when user press enter key in datagrid sell in must go to next cell like we use tab in datagridview i
0
ajaymaster1558Author Commented:
i use this code but it not work for me

private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
    if (e.KeyCode == Keys.Enter)
    {
        e.Handled = true;
        SendKeys.SendWait("{tab}");
    }
}
0
Éric MoreauSenior .Net ConsultantCommented:
0
ajaymaster1558Author Commented:
ok i get this link but how i use this example >>>><<<
0
Éric MoreauSenior .Net ConsultantCommented:
you should copy this class which extends the DataGridView to your project, replace the namespace of the class with your own, rebuild your project, and you will find the MyDGV in the toolbox. Add it to your form and enjoy.
0
ajaymaster1558Author Commented:
ok i get mydgv in tool box but it still not work as next cell when i press enter key \
0
Éric MoreauSenior .Net ConsultantCommented:
haven't you asked for the tab key? Replace Keys.Tab with Keys.Enter and you should be good.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ajaymaster1558Author Commented:
ok i get it
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.