Hi there,
Not sure what you mean by "these field will be invisible to all others"
But if you are interested in controlling access to the grid-view:
I am assuming that you have some sort of user-info object that holds the current user's details (their access rights, ie the standard CRUD (Create, Read, Update, Delete))
To control whether a user can update a row, you might handle the RowValidating event from the DataGridView, check if the current user has permission to update the row, and if they don't, set the Cancel property of the event-arguments to True.
eg:
void grid_RowValidating(object sender, DataGridViewCellCancelEventArgs e)
{
if (!CurrentUser.CanUpdate())
e.Cancel = true;
}
There are lots of events on the data-grid-view, a lot of them can be cancelled -> that is how I would do it.
Cheers,
Simon.