09-07-22, 02:45 AM
PHP كود :
Private Sub CellFormatting_following(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles CellFormatting.following
If e.ColumnIndex = 3 Then
If e.RowIndex = DataGridView2.Rows.Count - 1 Then Exit Sub
e.Value = CDate(e.Value)
e.CellStyle.Format = "yyyy-MM-dd"
End If
End Sub
يعطي خطا تحت
PHP كود :
Handles CellFormatting.following

