Student Reviews
( 5 Of 5 )
1 review
Video of فيجوال بيسك مهندس محمد البحراوى الدرس 101 ضبط حجم حقول الداتا جرد فيور in ASP.net course by Mohamed El Bahrawy channel, video No. 165 free certified online
ضبط خصائص الداتا جرد فيو
Dim ColWidth As Integer 0
Dim VisColCount As Integer 0
For Each col As DataGridViewColumn In Datagrid.Columns
If col.Visible True Then
VisColCount + 1
ColWidth ColWidth + col.Width
End If
Next
Dim Diff As Integer (Datagrid.Width - ColWidth - 50) / VisColCount
For Each col As DataGridViewColumn In Datagrid.Columns
If col.Visible True Then
col.Width col.Width + Diff
End If
Next