﻿<?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: Dynamic load where parameters for linqDatasource</title>
	<atom:link href="http://www.markvanaalst.net/2008/04/21/dynamic-load-where-parameters-for-linqdatasource/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markvanaalst.net/2008/04/21/dynamic-load-where-parameters-for-linqdatasource/</link>
	<description>blogging about ASP.Net and web development related techniques</description>
	<lastBuildDate>Tue, 27 Jul 2010 08:57:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Dan</title>
		<link>http://www.markvanaalst.net/2008/04/21/dynamic-load-where-parameters-for-linqdatasource/comment-page-1/#comment-5</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 19 Nov 2008 17:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.markvanaalst.com/?p=3#comment-5</guid>
		<description>Another option instead of doing it in the code behind:

Just update the where line for the LinqDatasource in design.
Where=&quot;BlogID == Guid(@BlogID)&quot;&gt;</description>
		<content:encoded><![CDATA[<p>Another option instead of doing it in the code behind:</p>
<p>Just update the where line for the LinqDatasource in design.<br />
Where=&#8221;BlogID == Guid(@BlogID)&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.markvanaalst.net/2008/04/21/dynamic-load-where-parameters-for-linqdatasource/comment-page-1/#comment-2</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 14 Aug 2008 05:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.markvanaalst.com/?p=3#comment-2</guid>
		<description>I was just playing around with this to get the windows authenticated user and filtering a grid display for entries by that user. I was trying to figure out the asp, but I&#039;m not that great with asp. The next thought was to save it in the session and do that, but I happened across this and wahoo! Thank you.
I like C#. Works great!
Next thing I&#039;ll need to try is to have a dropdown list and let the user select a different LoginName. For those people that have seen their stuff, now they want to look at somebody elses. So, I&#039;ll need to find that where param and change the default value. 
whereparam.DefaultValue = new value
and probably databind.

thanks... good stuff.
john.</description>
		<content:encoded><![CDATA[<p>I was just playing around with this to get the windows authenticated user and filtering a grid display for entries by that user. I was trying to figure out the asp, but I&#8217;m not that great with asp. The next thought was to save it in the session and do that, but I happened across this and wahoo! Thank you.<br />
I like C#. Works great!<br />
Next thing I&#8217;ll need to try is to have a dropdown list and let the user select a different LoginName. For those people that have seen their stuff, now they want to look at somebody elses. So, I&#8217;ll need to find that where param and change the default value.<br />
whereparam.DefaultValue = new value<br />
and probably databind.</p>
<p>thanks&#8230; good stuff.<br />
john.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: edcon</title>
		<link>http://www.markvanaalst.net/2008/04/21/dynamic-load-where-parameters-for-linqdatasource/comment-page-1/#comment-1</link>
		<dc:creator>edcon</dc:creator>
		<pubDate>Tue, 13 May 2008 19:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.markvanaalst.com/?p=3#comment-1</guid>
		<description>This helped me a lot! Awesome!</description>
		<content:encoded><![CDATA[<p>This helped me a lot! Awesome!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
