06-02-17, 04:39 PM
(06-02-17, 04:09 PM)abdulla2 كتب : كيف اجعله بفورمات معين .. مثل ..
DDL0000
DDL0001
DDL0002
تفضل اخي عبد الله
Private Sub DataGridView1_RowPrePaint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewRowPrePaintEventArgs) Handles DataGridView1.RowPrePaint
If e.RowIndex >= 0 Then
Me.DataGridView1.Rows(e.RowIndex).Cells(0).Value = Format(e.RowIndex + 1, "DDL0000")
End If
End Sub

