I have a System.Data.DataTable which I’m binding to a GridView. If the user doesn’t have a certain security role, I want to replace the data in certain columns with an “X”. Can I do this without looping through all of the rows?
I have a System.Data.DataTable which I’m binding to a GridView. If the user doesn’t
Share
You could also do it on the back end. Pass the userID or role to an sp which returns only viewable columns and ‘X’ values for columns they can’t see and bind the UI to that.