// RecoverDBase() is a BindingSource type method Grid.DataSource = RecoverDBase();
Grid.DataSource = RecoverDBase(); Grid.Columns[0].MaxInputLength=3;
DataGridViewTextBoxColumn cName = (DataGridViewTextBoxColumn)dataGridView1.Columns[1];//here index of column cName.MaxInputLength = 10;//here Max Length to column
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)