<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Adding Personalization via Profiles to the ObjectDataSource in ASP.NET 2.0</title>
	<atom:link href="http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/feed/" rel="self" type="application/rss+xml" />
	<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20</link>
	<description>Microsoft Focused, JavaScript,HTML5 (ExtJS, SenchaTouch &#38; Windows 8 Metro)</description>
	<lastBuildDate>Tue, 15 May 2012 21:53:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: high definition media player</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-30520</link>
		<dc:creator>high definition media player</dc:creator>
		<pubDate>Thu, 01 Sep 2011 12:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-30520</guid>
		<description>I entirely agree along with your factors. The actions of listing within your publish are very useful for finding this problems resolved.</description>
		<content:encoded><![CDATA[<p>I entirely agree along with your factors. The actions of listing within your publish are very useful for finding this problems resolved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: London bars</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-30421</link>
		<dc:creator>London bars</dc:creator>
		<pubDate>Sat, 20 Aug 2011 19:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-30421</guid>
		<description>Very good ideas here I really recommend this site</description>
		<content:encoded><![CDATA[<p>Very good ideas here I really recommend this site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Best Buy Electronic Online</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-29752</link>
		<dc:creator>Best Buy Electronic Online</dc:creator>
		<pubDate>Wed, 13 Apr 2011 20:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-29752</guid>
		<description>An interesting discussion is price comment. I think that it&#039;s best to write more on this topic, it won&#039;t be a taboo topic however typically persons are not enough to speak on such topics. To the next. Cheers</description>
		<content:encoded><![CDATA[<p>An interesting discussion is price comment. I think that it&#8217;s best to write more on this topic, it won&#8217;t be a taboo topic however typically persons are not enough to speak on such topics. To the next. Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: best buy watches online</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-29751</link>
		<dc:creator>best buy watches online</dc:creator>
		<pubDate>Wed, 13 Apr 2011 19:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-29751</guid>
		<description>i realize i&#039;m a little off topic, but i just wished to say i like the layout of the blog. i&#039;m new on the blogegine platform, so any advice with getting my blog looking better could well be appreciated.</description>
		<content:encoded><![CDATA[<p>i realize i&#8217;m a little off topic, but i just wished to say i like the layout of the blog. i&#8217;m new on the blogegine platform, so any advice with getting my blog looking better could well be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: best buy books online</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-29749</link>
		<dc:creator>best buy books online</dc:creator>
		<pubDate>Wed, 13 Apr 2011 19:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-29749</guid>
		<description>I&#039;m outside my mind, but think free to leave some sort of message.</description>
		<content:encoded><![CDATA[<p>I&#8217;m outside my mind, but think free to leave some sort of message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanh Ivers</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-28405</link>
		<dc:creator>Thanh Ivers</dc:creator>
		<pubDate>Tue, 26 Oct 2010 05:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-28405</guid>
		<description>I wrote something of the sort in my website too, please do check it out.</description>
		<content:encoded><![CDATA[<p>I wrote something of the sort in my website too, please do check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cruz Avance</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-28396</link>
		<dc:creator>Cruz Avance</dc:creator>
		<pubDate>Mon, 25 Oct 2010 06:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-28396</guid>
		<description>Very interesting input. :)</description>
		<content:encoded><![CDATA[<p>Very interesting input. <img src='http://PetersBlogCDN.s3.amazonaws.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jessajr gelido</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-28184</link>
		<dc:creator>jessajr gelido</dc:creator>
		<pubDate>Tue, 21 Sep 2010 08:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-28184</guid>
		<description>This work is excellent.  Just want to ask if how can I convert it to vb.net and have a gridview (will show only number of data) then pass the selected value to the detailview.  How can I also assigned membership to a certain user using this customize profile membership</description>
		<content:encoded><![CDATA[<p>This work is excellent.  Just want to ask if how can I convert it to vb.net and have a gridview (will show only number of data) then pass the selected value to the detailview.  How can I also assigned membership to a certain user using this customize profile membership</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-28083</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Sun, 12 Sep 2010 05:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-28083</guid>
		<description>Everybody is happy with this &quot;amazing&quot; job, but nobody realizes that this is an approach of a dilettante. Just think: every statement  from the Get (Select) Methods like 
   ProfileCommon pc = (ProfileCommon)ProfileBase.Create       (mu.UserName, true);
invokes call to the database. Imagine you have couple of thousands users and  thus you get couple of thousands database calls... 
This solution is good for students from a school to show them how to play with Profile object. In real world one has to use custom Profile provider to show data in the grid. Sorry.</description>
		<content:encoded><![CDATA[<p>Everybody is happy with this &#8220;amazing&#8221; job, but nobody realizes that this is an approach of a dilettante. Just think: every statement  from the Get (Select) Methods like<br />
   ProfileCommon pc = (ProfileCommon)ProfileBase.Create       (mu.UserName, true);<br />
invokes call to the database. Imagine you have couple of thousands users and  thus you get couple of thousands database calls&#8230;<br />
This solution is good for students from a school to show them how to play with Profile object. In real world one has to use custom Profile provider to show data in the grid. Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Another Nice DevExpress CodeRush Refactoring &#124; PeterKellner.net</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-27765</link>
		<dc:creator>Another Nice DevExpress CodeRush Refactoring &#124; PeterKellner.net</dc:creator>
		<pubDate>Sun, 04 Jul 2010 16:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-27765</guid>
		<description>[...] of Lamba Expressions.&#160; If you recall, I wrote an MSDN article back in 2006 entitled Adding Personalization via Profiles to the ObjectDataSource in ASP.NET 2.0.&#160; Ted Neward inspired a construct to cleverly sort the result list using delegates as shown in [...]</description>
		<content:encoded><![CDATA[<p>[...] of Lamba Expressions.&#160; If you recall, I wrote an MSDN article back in 2006 entitled Adding Personalization via Profiles to the ObjectDataSource in ASP.NET 2.0.&#160; Ted Neward inspired a construct to cleverly sort the result list using delegates as shown in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naomi</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-400</link>
		<dc:creator>Naomi</dc:creator>
		<pubDate>Fri, 04 Apr 2008 03:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-400</guid>
		<description>This is a great article. However, I need to change the autogenerated class for more functionality and I&#039;m unsure how to proceed.

In my original page there is the following code:

private MembershipUserCollection GetSiteUsers()
{
MembershipUserCollection siteMembers = new MembershipUserCollection();
MembershipUserCollection Members = Membership.GetAllUsers();

foreach (MembershipUser CurrUser in Members)
{
if (Profile.GetProfile(CurrUser.UserName).SiteID == Profile.SiteID &amp;&amp;
!Roles.IsUserInRole(CurrUser.UserName, &quot;MasterAdmin&quot;))
{
siteMembers.Add(CurrUser);
}
}
return siteMembers;
}

-------------------------
I need to be able to implement similar restriction to GetMembers method but I&#039;m unsure how exactly. Profile is not valid in the class context.

I&#039;m also having a simpler problem. For my GridView I&#039;d like to add a confirmation dialog and somehow adding it in the RowDataBound method disables Delete functionality.

Do you know how to solve these 2 problems?

Thanks a lot in advance.</description>
		<content:encoded><![CDATA[<p>This is a great article. However, I need to change the autogenerated class for more functionality and I&#8217;m unsure how to proceed.</p>
<p>In my original page there is the following code:</p>
<p>private MembershipUserCollection GetSiteUsers()<br />
{<br />
MembershipUserCollection siteMembers = new MembershipUserCollection();<br />
MembershipUserCollection Members = Membership.GetAllUsers();</p>
<p>foreach (MembershipUser CurrUser in Members)<br />
{<br />
if (Profile.GetProfile(CurrUser.UserName).SiteID == Profile.SiteID &amp;&amp;<br />
!Roles.IsUserInRole(CurrUser.UserName, &#8220;MasterAdmin&#8221;))<br />
{<br />
siteMembers.Add(CurrUser);<br />
}<br />
}<br />
return siteMembers;<br />
}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
I need to be able to implement similar restriction to GetMembers method but I&#8217;m unsure how exactly. Profile is not valid in the class context.</p>
<p>I&#8217;m also having a simpler problem. For my GridView I&#8217;d like to add a confirmation dialog and somehow adding it in the RowDataBound method disables Delete functionality.</p>
<p>Do you know how to solve these 2 problems?</p>
<p>Thanks a lot in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naomi</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-399</link>
		<dc:creator>Naomi</dc:creator>
		<pubDate>Thu, 03 Apr 2008 21:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-399</guid>
		<description>Continuation:
-------------------------
I need to be able to implement similar restriction to GetMembers method but I&#039;m unsure how exactly. Profile is not valid in the class context.

I&#039;m also having a simpler problem. For my GridView I&#039;d like to add a confirmation dialog and somehow adding it in the RowDataBound method disables Delete functionality.

Do you know how to solve these 2 problems?

Thanks a lot in advance.</description>
		<content:encoded><![CDATA[<p>Continuation:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
I need to be able to implement similar restriction to GetMembers method but I&#8217;m unsure how exactly. Profile is not valid in the class context.</p>
<p>I&#8217;m also having a simpler problem. For my GridView I&#8217;d like to add a confirmation dialog and somehow adding it in the RowDataBound method disables Delete functionality.</p>
<p>Do you know how to solve these 2 problems?</p>
<p>Thanks a lot in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naomi</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-398</link>
		<dc:creator>Naomi</dc:creator>
		<pubDate>Thu, 03 Apr 2008 21:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-398</guid>
		<description>This is a great article. However, I need to change the autogenerated class for more functionality and I&#039;m unsure how to proceed.

In my original page there is the following code:

private MembershipUserCollection GetSiteUsers()
{
MembershipUserCollection siteMembers = new MembershipUserCollection();
MembershipUserCollection Members = Membership.GetAllUsers();

foreach (MembershipUser CurrUser in Members)
{
if (Profile.GetProfile(CurrUser.UserName).SiteID == Profile.SiteID &amp;&amp;
!Roles.IsUserInRole(CurrUser.UserName, &quot;MasterAdmin&quot;))
{
siteMembers.Add(CurrUser);
}
}
return siteMembers;
}</description>
		<content:encoded><![CDATA[<p>This is a great article. However, I need to change the autogenerated class for more functionality and I&#8217;m unsure how to proceed.</p>
<p>In my original page there is the following code:</p>
<p>private MembershipUserCollection GetSiteUsers()<br />
{<br />
MembershipUserCollection siteMembers = new MembershipUserCollection();<br />
MembershipUserCollection Members = Membership.GetAllUsers();</p>
<p>foreach (MembershipUser CurrUser in Members)<br />
{<br />
if (Profile.GetProfile(CurrUser.UserName).SiteID == Profile.SiteID &amp;&amp;<br />
!Roles.IsUserInRole(CurrUser.UserName, &#8220;MasterAdmin&#8221;))<br />
{<br />
siteMembers.Add(CurrUser);<br />
}<br />
}<br />
return siteMembers;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ali raza</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-397</link>
		<dc:creator>ali raza</dc:creator>
		<pubDate>Sat, 01 Dec 2007 15:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-397</guid>
		<description>Excelent work,
nice job</description>
		<content:encoded><![CDATA[<p>Excelent work,<br />
nice job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Viswaraj</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-396</link>
		<dc:creator>Stephen Viswaraj</dc:creator>
		<pubDate>Thu, 18 Oct 2007 17:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-396</guid>
		<description>Amazing job. Actually, I was so happy to reuse the .Net Membership 2.0. When i get the requirement other than the provided parameters, I really thought of writing additional SP, and methods. The way you explained the Profile class was really help ful.

Cheers,
Steve...</description>
		<content:encoded><![CDATA[<p>Amazing job. Actually, I was so happy to reuse the .Net Membership 2.0. When i get the requirement other than the provided parameters, I really thought of writing additional SP, and methods. The way you explained the Profile class was really help ful.</p>
<p>Cheers,<br />
Steve&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-394</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sun, 07 Oct 2007 04:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-394</guid>
		<description>How can we search profiles by a properties and fill back the gridview and sort the results or doing paging?

thank you</description>
		<content:encoded><![CDATA[<p>How can we search profiles by a properties and fill back the gridview and sort the results or doing paging?</p>
<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GRiM</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-395</link>
		<dc:creator>GRiM</dc:creator>
		<pubDate>Wed, 08 Aug 2007 17:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-395</guid>
		<description>A good &quot;partner&quot; article to all this membership business is Scott Mitchell&#039;s Part 3: Examining ASP.NET 2.0&#039;s Membership, Roles, and Profile.
http://aspnet.4guysfromrolla.com/articles/040506-1.aspx

Part 3 explains in good detail how to add the Membership and Roles schema to an existing database.

Thanks for this Peter. It has helped tremendously. I&#039;m hoping to implement this on my site very soon. I&#039;m still working on the back end.</description>
		<content:encoded><![CDATA[<p>A good &#8220;partner&#8221; article to all this membership business is Scott Mitchell&#8217;s Part 3: Examining ASP.NET 2.0&#8242;s Membership, Roles, and Profile.<br />
<a href="http://aspnet.4guysfromrolla.com/articles/040506-1.aspx">http://aspnet.4guysfromrolla.com/articles/040506-1.aspx</a></p>
<p>Part 3 explains in good detail how to add the Membership and Roles schema to an existing database.</p>
<p>Thanks for this Peter. It has helped tremendously. I&#8217;m hoping to implement this on my site very soon. I&#8217;m still working on the back end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manju</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-393</link>
		<dc:creator>Manju</dc:creator>
		<pubDate>Wed, 09 May 2007 11:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-393</guid>
		<description>Greate article. i have one doubt . i am designing register page in asp.net.. i am using create user wizard.. i have customized this create user wizard . i have added the firstname, lastname, address, city,state. but i want to validate these controls also before creating user .. can u help me</description>
		<content:encoded><![CDATA[<p>Greate article. i have one doubt . i am designing register page in asp.net.. i am using create user wizard.. i have customized this create user wizard . i have added the firstname, lastname, address, city,state. but i want to validate these controls also before creating user .. can u help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anhtin</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-392</link>
		<dc:creator>Anhtin</dc:creator>
		<pubDate>Wed, 07 Mar 2007 07:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-392</guid>
		<description>thanks Reply to me
the first time i run the page Exception is &quot;Cannot open database requested in login &#039;aspnetdb&#039;. Login fails.
Login failed for user &#039;PC19\Administrator&#039;. &quot; after that i create database is name: aspnetdb

 but when i run it still
have Exception : &quot;Could not find stored procedure dbo.aspnet_CheckSchemaVersion&#039;.&quot;
??? i dont understand
In WebConfig</description>
		<content:encoded><![CDATA[<p>thanks Reply to me<br />
the first time i run the page Exception is &#8220;Cannot open database requested in login &#8216;aspnetdb&#8217;. Login fails.<br />
Login failed for user &#8216;PC19\Administrator&#8217;. &#8221; after that i create database is name: aspnetdb</p>
<p> but when i run it still<br />
have Exception : &#8220;Could not find stored procedure dbo.aspnet_CheckSchemaVersion&#8217;.&#8221;<br />
??? i dont understand<br />
In WebConfig</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anhtin</title>
		<link>http://peterkellner.net/2006/03/13/adding-personalization-via-profiles-to-the-objectdatasource-in-aspnet-20/#comment-390</link>
		<dc:creator>Anhtin</dc:creator>
		<pubDate>Wed, 07 Mar 2007 04:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/?p=29#comment-390</guid>
		<description>Hi all
I download Sample but it not contain Database. Can u send me Database thanks</description>
		<content:encoded><![CDATA[<p>Hi all<br />
I download Sample but it not contain Database. Can u send me Database thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 29/68 queries in 0.059 seconds using disk: basic
Content Delivery Network via Amazon Web Services: S3: PetersBlogCDN.s3.amazonaws.com

Served from: peterkellner.net @ 2012-05-17 05:46:43 -->
