In Figure 12-25, I gussied up (Anonymous web server) the GridView

In Figure 12-25, I gussied up the GridView control a bit, using techniques described in the preceding section. I also typed some text directly onto the page to clarify what s going on. Viewing and editing user properties If you added profile properties to your site, sometimes you want to see and edit the properties of your user profiles. The tricky part is that you can t use the normal syntax such as Profile.propertyName to refer to a specific user s properties. That s because that standard syntax always refers to whoever is viewing this page. When you re viewing the page, that s always going to be you (well, yeah), so you d see only your own profile properties. Figure 12-25: GridView control, showing only the records for selected user Carol. Figure 12-24: Retrieving only the records that match the UserName in Drop DownList1. 284 Part III: Personalization and Databases
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.

Leave a Reply