Click here to Skip to main content
14,829,981 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Respected sir/s

I am developing windows application using
in which i have gridview of items when user type into cell then another gridview should be appeared at this location automatically..
i have tried following code...but not working
Dim y As Integer = DGV.CurrentCellAddress.Y  'DGV is first datagridview
Dim x As Integer = DGV.CurrentCellAddress.X
Dim p As New Point(x, y)
DGVItems.Location = Me.PointToScreen(p)  'DGVItems is another datagridview

please help me...
Thank you,

1 solution

It's really difficult to achieve a gridview in cell
you have to create custom cells, columns and have to paint your grid in cell

I suggest you something,
don't waste time to do so,
use tablelayout panel for this task.

you can also use wpf grid for this

Happy Coding!

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