Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Feb 13, 2012 04:06 PM|LINK
I have two tables User & UsersInRoles
User Table has got:
UsersInRoles has got:
(Just 3 Columns)
I have two dropdowns
Role : Readonly/Admin/Edit
& the path is /UsersInRoles/Insert.aspx
Now, I want to display the Forename + Surname in User DropDown. I added a class file with the name UsersInRole.vb and the code is below:
Partial Public Class UsersInRole
Public ReadOnly Property FullUserName() As String
Dim x As String = Me.User.Forename & " " & Me.User.Surname
<DisplayName("User in Roles")> _
Public Class UsersInRoleMetaData
'Public FullUserName As Object
I tried most the things you mentioned, but when i try to access the Surname, it says "Property not found in UsersInRoles".
Can you please tell me, where am I doing the wrong. I mean I am really confused about it, where to make the changes and which new file should I add. Can you please send me some solution with structure. It would be a great help.
Looking forward to hear from you soon.