MSFanboy
asked on
How to change column settings from DataReader columns?
Hello,
I have a datagridview with 8 columns.
2 columns are created manually and the other 6 are from a DataReader assigned to the datagridviews datasource.
The 2 columns I have set the property ReadOnly = false; because the user must enter data, but the other 6 columns are editable too, how can I stop that? User is not allowed to enter data here. How can I access the 6 Â columns after the DataReader is bound to the datagridviews datasource?
I have a datagridview with 8 columns.
2 columns are created manually and the other 6 are from a DataReader assigned to the datagridviews datasource.
The 2 columns I have set the property ReadOnly = false; because the user must enter data, but the other 6 columns are editable too, how can I stop that? User is not allowed to enter data here. How can I access the 6 Â columns after the DataReader is bound to the datagridviews datasource?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thx a bunch :) totally forgot the i=2 possibility... thought I have to if... the column hehe
:)
Open in new window