Be more than mobile, reach every Windows screen
Reach millions of players across phone, PC, and Xbox One
The Internet of your things
how can i create hotel reservation system grid.
i tired datagridview but. it's not working as good. trouble in marge cell and extend the cell value.
is there any other way to create a grid of rooms and day.
please tell me any suggestion or help.
thank you in advance.
DataGridView does not support merged cell by default. You need to handle
CellPainting event or override OnCellPainting in your custom datagridview control to paint the border:
How do I show multi-layered column headers?
How to display grouped data in a DataGridView?
I'm not sure what do you mean to extend the cell value.
If there are any questions, please feel free to let us know.
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Thank You for your valuable response
Yes I know that data grid view not support to merge cell.
I try and success and merge cell by remove the right border based on condition but there is problem that I can place a label inside cell but I not complete the task by it.
My task is that I have to place label in grid or alter native of it and user can drag and drop the label and also possible to change width of label by drag.
So I need your suggestion how to I achieve that.
I able to drag and drop a label and also to change the width of label. The problem is that how can I put multiple label in grid.
please tell me
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?