473,385 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to show profile properties for all users?

Hallo,

i defined some profile properties (category and department), for our
membership users..
I also made a list of all the membership users in a gridview. This list
shows only the username and emailaddress.
My problem is that i also want to show their profile properties in the
gridview.
i know how to get the profile properties for the logged user: e.g.
textbox1.text = profile.category
but how to do that for all users together?
Thanks
Bart
Jan 31 '08 #1
2 1977

see ProfileManager.GetAllProfiles

-- bruce (sqlwork.com)
"Bart" wrote:
Hallo,

i defined some profile properties (category and department), for our
membership users..
I also made a list of all the membership users in a gridview. This list
shows only the username and emailaddress.
My problem is that i also want to show their profile properties in the
gridview.
i know how to get the profile properties for the logged user: e.g.
textbox1.text = profile.category
but how to do that for all users together?
Thanks
Bart
Jan 31 '08 #2
Thanks

"bruce barker" <br*********@discussions.microsoft.comschreef in bericht
news:81**********************************@microsof t.com...
>
see ProfileManager.GetAllProfiles

-- bruce (sqlwork.com)
"Bart" wrote:
>Hallo,

i defined some profile properties (category and department), for our
membership users..
I also made a list of all the membership users in a gridview. This list
shows only the username and emailaddress.
My problem is that i also want to show their profile properties in the
gridview.
i know how to get the profile properties for the logged user: e.g.
textbox1.text = profile.category
but how to do that for all users together?
Thanks
Bart

Jan 31 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Iain | last post by:
I create a user using Membership.CreateUser Now I want to set a profile property for that user - of course they are not logged in, so the profile is of the current user (the administator). How...
1
by: Giovanni | last post by:
Dear Friends, I am having problems with the following: I have added a Login control to a web page. In the Login control's Authenticate event, I am performing additional validation against our...
6
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a...
1
by: Jeff | last post by:
Hey asp.net 2.0 In my web.config file I got these settings: <profile enabled="true"> <properties> <add name="Picture" type="System.Byte" /> <add name="PictureType" type="string" />...
9
by: Eric Falsken | last post by:
I've added a number of additional properties to my profile. Sometimes, the values are populated when the user is retrieved from the database, but sometimes the values are empty/default. How can I...
1
by: shapper | last post by:
Hello, I have the following class to be used in profile: <Serializable()_ Public Class Options Inherits ProfileBase Private _Newsletter As Boolean Public Property Newsletter() As Boolean
2
by: Annie | last post by:
Hello guys, I have set the MEMBERSHIP, ROLEMANAGER and PROFILE in my config file as below. I just want to use my own sql server 2000 table instead of MSDB.
1
by: Mike | last post by:
Hi: I have been trying to create a web application that provides suport for two membership/profile databases: one for private users and one for another set of users. These tw user have a...
1
by: shapper | last post by:
Hello, On my CMS I am signed as administrator and I am creating a Membership user and its profile: MembershipCreateStatus status; MembershipUser user = Membership.CreateUser("Joe", "Pass",...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.