I am this error when I try to access EditRoles.aspx
System.NullReferenceException: Object reference not set to an instance of an object.
The error occurs at this part of the code:
Code:
DataRelation permissionCategories = new DataRelation("PermissionCategories", permissions.Tables["PermissionCategories"].Columns["CategoryID"],
permissions.Tables["Permission"].Columns["CategoryID"], true);
Any suggestions?