troubleshooting Question

DataGridView editable with textbox and enter key to move to another column textbox

Avatar of alicealiciasarawak
alicealiciasarawak asked on
.NET Programming
26 Comments1 Solution2439 ViewsLast Modified:
I want to create a datagridview as below:

Name     Age          Height         Bust       Waist
Alice      20             157               40            28
Ally        25              160              38            24

There are 25 rows for user to key in the age, height, bust and waist. I want it to be only 25 rows, how to set this, meaning to say that there are only 25 rows for users to key data. The fields Age, Height, Bust and Waist allow user to key in the data with textboxes.

I want it to be when user key in the age of Alice and press Enter, it will move to the Height of Alice, and when it reach the last Column Waist and user key in the data and press Enter, it will automatically move to the next Row, Ally's Age textbox.

Can anyone help to give an example for this? I really need help.
Deepak Lakkad

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 26 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 26 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros