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:
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