Hello ,i have a combobox StudentName which should show the student Name.His studentId is available but i need to bind the combobox to show the name of that student by his id.Am using membership
here is the sample code
MembershipUser student = Membership.GetUser(Page.User.Identity.Name);
Guid id =new Guid(student.ProviderUserKey.ToString());
int StudentId = StudentsList.FetchStudentId((id));
This give me the student Id but i need to have his name too.It changes everytime one logs in since studentName has other users registered under him so if those students registered by his name have logged in.the combobobox is bound to the Student who registered them
Mark as answer if satisfied