J
Jake Peters
I'd like to know how to get a users various table
privilages from a sql server (insert/delete/update), so
that i can set controls to behave accordingly (read only,
hidden, disable "insert" button, etc). I'm sure it can't
be too difficult, but I've been having a hard time finding
any revelant information when doing searches.
I know sql can just throw back an exception to let the user
know, but my goal is to make custom controls that get these
properties from a custom parent control that contains the
security info, as well as other properties (max length for
columns, etc).
Any help would be much apreciated.
privilages from a sql server (insert/delete/update), so
that i can set controls to behave accordingly (read only,
hidden, disable "insert" button, etc). I'm sure it can't
be too difficult, but I've been having a hard time finding
any revelant information when doing searches.
I know sql can just throw back an exception to let the user
know, but my goal is to make custom controls that get these
properties from a custom parent control that contains the
security info, as well as other properties (max length for
columns, etc).
Any help would be much apreciated.