protected override void AfterLoadFound() { ListRole = new List <string>(); DataTable dt = Dp.OpenDataTable( "SELECT RoleName FROM _System_RoleUser WHERE ProductName=@1 AND UserName=@0", new FieldParam("0", UserName), new FieldParam("1", BaseFramework.ProductName)); foreach (DataRow dr in dt.Rows) { ListRole.Add((string)dr[0]); } }