Column Validation
DGV Framework provides validation options for datagridview columns.
The provided Validation options are
Name
Username
Email
Password
Phone
Card
NotEmpty
Number
Decimal
NumberBetween'
Simply use the method SetValidation()
//set validation for age
colAge.SetValidation(DataGridViewExtensions.ValidationTypes.Number);
//Bind the list to datagrid view
_dataGridView.Bind(usersList)
.OnError(r=>
{
MessageBox.Show("Validation error");
});

Last updated
Was this helpful?