2
Reply

Non selectable column In Datagridview

anil kumar

anil kumar

15y
8.2k
0
Reply

    private void dataGridView1_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e){if (((DataGridView)sender).CurrentCell.ColumnIndex == 1)e.Cancel = true;}

    Hello Mahesh Ji
    I m from Hyderabad , I m facing One Trouble in datagridview .
    How Can We Set a Non selectable column In Datagridview .  I m Trying from  Last Two Month.
    (Non selectable column Means To Say :- Column Readonly +  Non Clickable + Non Select By Tab  or Enter or All Aerro Keys:- Fully Disable )
    Please Help Me