Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #72.8K
~7K People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for PM312

Hi PM312 Actually when you drag control, this creates the five columns provided. So your custom control is correct. I should instead understand how to proceed to add lines. For example, if you assign a datasource starting from a DataTable, it adds the columns declared in the DataTable and as …

Member Avatar for xrjf
0
4K
Member Avatar for xuexue

Hi xuexue, You can try this one If e.RowIndex > 0 AndAlso DGTariffeAssegnate.Rows(e.RowIndex - 1).Cells(1).Value.ToString() = e.Value.ToString() Then Using gridBrush As Brush = New SolidBrush(Me.DGTariffeAssegnate.GridColor), backColorBrush As Brush = New SolidBrush(e.CellStyle.BackColor) Using gridLinePen As Pen = New Pen(gridBrush) e.Graphics.FillRectangle(backColorBrush, e.CellBounds.Left, e.CellBounds.Top - 1, e.CellBounds.Width - 1, e.CellBounds.Height) e.Graphics.DrawLine(gridLinePen, e.CellBounds.Left, e.CellBounds.Top, …

Member Avatar for Mauro Galati
1
4K

The End.