<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx</link><description>In yesterday's post I showed you how to bind LINQ to SQL classes to a Combobox in order to filter records on a one-to-many form. Today I want to show you how how you can use a Combobox as a lookup list in order to edit values on a record. We'll be building</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Airline Travel &amp;raquo; Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7524276</link><pubDate>Thu, 07 Feb 2008 22:41:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7524276</guid><dc:creator>Airline Travel » Creating Lookup Lists with LINQ to SQL</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.travel-hilarity.com/airline_travel/?p=1295"&gt;http://www.travel-hilarity.com/airline_travel/?p=1295&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7539411</link><pubDate>Fri, 08 Feb 2008 14:58:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7539411</guid><dc:creator>Steven</dc:creator><description>&lt;p&gt;Thanks for this Post!&lt;/p&gt;
&lt;p&gt;I've done everything as you described, but when I run my application always the first entry in the territorieslist doesn't change the Combobox to the right value. the other entries work, but first one always shows the first entry in the Regionlist instaed of the one that belobgs to this entry.&lt;/p&gt;
&lt;p&gt;Maybe you have an Idea.&lt;/p&gt;
&lt;p&gt;Thanks Steven&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7545634</link><pubDate>Fri, 08 Feb 2008 23:08:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7545634</guid><dc:creator>Beth Massi</dc:creator><description>&lt;p&gt;Hi Steven,&lt;/p&gt;
&lt;p&gt;Did you make sure you set the ValueMember of the Combobox to the RegionID?&lt;/p&gt;
</description></item><item><title>Beth Massi on LINQ DataBinding to ComboBoxes</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7595913</link><pubDate>Mon, 11 Feb 2008 03:18:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7595913</guid><dc:creator>Hot Topics</dc:creator><description>&lt;p&gt;Two recent LINQ databinding with ComboBoxes posts from Beth Massi of the Visual Basic team. Creating&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7632943</link><pubDate>Tue, 12 Feb 2008 09:00:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7632943</guid><dc:creator>KK</dc:creator><description>&lt;p&gt;With WinForm on the way out &amp;amp; WPF the new kid in the block, using WPF would be wonderful&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7649657</link><pubDate>Tue, 12 Feb 2008 21:09:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7649657</guid><dc:creator>Beth Massi</dc:creator><description>&lt;p&gt;Hi KK,&lt;/p&gt;
&lt;p&gt;I'll put it on the list ;-). I wanted to start with Winforms because the visual designers are much better and it's easier to understand. &lt;/p&gt;
&lt;p&gt;In the meantime check out www.windowsclient.net&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;-B&lt;/p&gt;
</description></item><item><title>One-To-Many (Master-Detail) Forms with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7804903</link><pubDate>Wed, 20 Feb 2008 02:11:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7804903</guid><dc:creator>Beth Massi - Sharing the goodness that is VB</dc:creator><description>&lt;p&gt;In my previous posts here and here I showed how to use LINQ to SQL classes with a couple different Combobox&lt;/p&gt;
</description></item><item><title>Simple Validation with LINQ to SQL Classes</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7897745</link><pubDate>Tue, 26 Feb 2008 04:04:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7897745</guid><dc:creator>Beth Massi - Sharing the goodness that is VB</dc:creator><description>&lt;p&gt;In the last few posts on LINQ to SQL I've showed how to set up an object model using the O/R designer&lt;/p&gt;
</description></item><item><title>Simple Validation with LINQ to SQL Classes</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#7897856</link><pubDate>Tue, 26 Feb 2008 04:29:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7897856</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;In the last few posts on LINQ to SQL I&amp;amp;#39;ve showed how to set up an object model using the O/R designer&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#8069425</link><pubDate>Thu, 06 Mar 2008 12:35:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8069425</guid><dc:creator>saleem</dc:creator><description>&lt;p&gt;hi , my name is &amp;nbsp;saleem &lt;/p&gt;
&lt;p&gt;can you answer my qestions please&lt;/p&gt;
&lt;p&gt;1- i made a simple media player to play sound and video i just want to know how can i get all file names &lt;/p&gt;
&lt;p&gt;i selected and pressed enter&lt;/p&gt;
&lt;p&gt;i tried a startupnextinstance event&lt;/p&gt;
&lt;p&gt;and i got all file names but this was a very slow way and doesn't work well when you have alot of files (more than 100)&lt;/p&gt;
&lt;p&gt;i think i should use somthing exist in windows &lt;/p&gt;
&lt;p&gt;i think &amp;nbsp;somthing related to user32.dll or another file&lt;/p&gt;
&lt;p&gt;please can you tell me what the way is &lt;/p&gt;
&lt;p&gt;( i want the same way that is used in windows media player to open many files)&lt;/p&gt;
&lt;p&gt;2-i can drag and drop files from explorer to my play list using dragdrop event but this doesn't work when i drag files from openfiledialog to my playlist&lt;/p&gt;
&lt;p&gt;my listbox doesn't feel dragdrop event&lt;/p&gt;
&lt;p&gt;3- how can i next the song using nextmediabutton&lt;/p&gt;
&lt;p&gt;while my application is minimized and i am working &amp;nbsp;on another program&lt;/p&gt;
&lt;p&gt;4- sorry if my English is not very good&lt;/p&gt;
&lt;p&gt;and thank you for every thing&lt;/p&gt;
</description></item><item><title>LINQ to SQL N-Tier Smart Client - Part 1 Building the Middle-Tier</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#8385506</link><pubDate>Sat, 12 Apr 2008 19:27:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8385506</guid><dc:creator>Beth Massi - Sharing the goodness that is VB</dc:creator><description>&lt;p&gt;In my previous posts on LINQ to SQL I showed how to build LINQ to SQL classes and set up the data binding&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#8462886</link><pubDate>Tue, 06 May 2008 15:44:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8462886</guid><dc:creator>ama</dc:creator><description>&lt;p&gt;Hi Beth&lt;/p&gt;
&lt;p&gt;This code doesn't work&lt;/p&gt;
&lt;p&gt;I Have this &lt;/p&gt;
&lt;p&gt;Me.RegionIDComboBox.DataBindings.Add(New System.Windows.Forms.Binding(&amp;quot;SelectedValue&amp;quot;, Me.TerritoriesBindingSource, &amp;quot;RegionID&amp;quot;, True))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.DataSource = Me.RegionBindingSource&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.DisplayMember = &amp;quot;RegionDescription&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.FormattingEnabled = True&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.Location = New System.Drawing.Point(131, 56)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.Name = &amp;quot;RegionIDComboBox&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.Size = New System.Drawing.Size(145, 21)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.TabIndex = 6&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.RegionIDComboBox.ValueMember = &amp;quot;RegionID&amp;quot;&lt;/p&gt;
&lt;p&gt;but when I change value in cmbBox nothing happens&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#8482501</link><pubDate>Sat, 10 May 2008 01:43:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8482501</guid><dc:creator>Beth Massi</dc:creator><description>&lt;p&gt;Hi Ama,&lt;/p&gt;
&lt;p&gt;You need to make sure you call EndEdit() on the bindingsource before you call SubmitChanges. Take a look at the code snippet above for the save button.&lt;/p&gt;
&lt;p&gt;HTH,&lt;/p&gt;
&lt;p&gt;-B&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#8508352</link><pubDate>Thu, 15 May 2008 19:04:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8508352</guid><dc:creator>Shawn</dc:creator><description>&lt;p&gt;Hello Beth,&lt;/p&gt;
&lt;p&gt;I am developing an application in Visual Basic 6 with Farpoint Spread as an Active X Control which contains my table data. I began teaching myself code middle of last year to transform an excel application into a fully executable program. I used the Vlookup funtion in Excel in many aspects and am needing to do the same in VB6 but have not been able to find anything on this. If you could spare some of your time to offer me help on this, I would greatly appreciate it.&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;
&lt;p&gt;Shawn Guillory&lt;/p&gt;
&lt;p&gt;President &amp;amp; Founder&lt;/p&gt;
&lt;p&gt;Guillory's Technical Consulting&lt;/p&gt;
&lt;p&gt;spgtechconsulting@yahoo.com&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#8948593</link><pubDate>Sat, 13 Sep 2008 03:40:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8948593</guid><dc:creator>Ahmed</dc:creator><description>&lt;p&gt;Hi Beth,&lt;/p&gt;
&lt;p&gt;For this code works properly, we must fill the Regions before the Territories , otherwise, like Steven said, the first entry in the territorieslist will be always &amp;nbsp;1 and will be in the state of updated.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;territoriesBindingSource.DataSource =&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;from t in db.Territories&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;where t.RegionID == 3&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;select t;&lt;/p&gt;
&lt;p&gt;regionBindingSource.DataSource = db.Regions; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#8977609</link><pubDate>Mon, 06 Oct 2008 13:06:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8977609</guid><dc:creator>Emmanuel Nuyttens</dc:creator><description>&lt;p&gt;Hi Beth,&lt;/p&gt;
&lt;p&gt;First of all, many thanx for providing us this information in a fluent &amp;amp; easy to understand way. Fortunatelly, some people tend to explain those stuff in a to complicated way.&lt;/p&gt;
&lt;p&gt;I have the same problem concerning the filtering of territories to the selected region, and all prop's are properly binded ! &lt;/p&gt;
&lt;p&gt;So my solution was to handle the &amp;quot;SelectedIndexChanged&amp;quot; of the region combo as next:&lt;/p&gt;
&lt;p&gt;public FormTerritory()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InitializeComponent();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;territoriesBindingSource.DataSource = _db.Territories;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;regionBindingSource.DataSource = _db.Regions;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Get the Current RegionId &amp;amp;&amp;amp; Filter the Territories&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (regionIDComboBox.Items.Count &amp;gt; 0)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FilterTerritories(Int32.Parse(regionIDComboBox.SelectedValue.ToString()));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;private void regionIDComboBox_SelectedIndexChanged(object sender, EventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Get the Current RegionId &amp;amp;&amp;amp; Filter the Territories&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (regionIDComboBox.Items.Count &amp;gt; 0)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FilterTerritories(Int32.Parse(regionIDComboBox.SelectedValue.ToString()));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private void FilterTerritories(int p_regionId)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;territoriesBindingSource.DataSource =&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from territory in _db.Territories&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;where territory.RegionID == p_regionId&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select territory;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Greetz &amp;amp; keep going on posting those nice articles !&lt;/p&gt;
&lt;p&gt;Emmanuel Nuyttens&lt;/p&gt;
&lt;p&gt;.NET Architect Alsico NV.&lt;/p&gt;
&lt;p&gt;BELGIUM (Ronse)&lt;/p&gt;
</description></item><item><title>Data Binding WPF Lookup Combobox Values to EF Entities</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#9582645</link><pubDate>Fri, 01 May 2009 20:18:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9582645</guid><dc:creator>Beth Massi - Sharing the goodness that is VB</dc:creator><description>&lt;p&gt;It’s extremely common to have to hook up lookup tables on your data entry forms in order to populate&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#9609100</link><pubDate>Wed, 13 May 2009 13:45:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9609100</guid><dc:creator>basheer</dc:creator><description>&lt;p&gt;This is a very surpprising style it is the best new techniqe in software developement&lt;/p&gt;</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#9857086</link><pubDate>Tue, 04 Aug 2009 15:41:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9857086</guid><dc:creator>j halsey</dc:creator><description>&lt;p&gt;How would I do this if I had 2 look up columns in a single table that were tied to two seperate tables?&lt;/p&gt;</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#9857117</link><pubDate>Tue, 04 Aug 2009 16:25:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9857117</guid><dc:creator>jhalsey</dc:creator><description>&lt;p&gt;I need to do this in C#. &amp;nbsp;Any tips?&lt;/p&gt;</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#9857280</link><pubDate>Tue, 04 Aug 2009 20:28:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9857280</guid><dc:creator>Beth Massi</dc:creator><description>&lt;p&gt;Hi jhalsey,&lt;/p&gt;
&lt;p&gt;You would repeat the same process for two lookup tables. And there's nothing special you have to do to support C# here. &lt;/p&gt;
&lt;p&gt;Have fun,&lt;/p&gt;
&lt;p&gt;-B&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#9910217</link><pubDate>Tue, 20 Oct 2009 22:00:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9910217</guid><dc:creator>JohnMurray</dc:creator><description>&lt;p&gt;When I try to follow the code here, I get an exception: &amp;nbsp;&lt;/p&gt;
&lt;p&gt;foreignkeyreferencealreadyhasvalue. &amp;nbsp;If I add the item to the list associated with the foreignkey element, then all goes well. &amp;nbsp;however, when I try to have the combo box set the foreign key directly, i get an exception. &amp;nbsp;Am I looking at this incorreclty?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;
</description></item><item><title>re: Creating Lookup Lists with LINQ to SQL</title><link>http://blogs.msdn.com/bethmassi/archive/2008/02/07/creating-lookup-lists-with-linq-to-sql.aspx#9910332</link><pubDate>Wed, 21 Oct 2009 04:10:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9910332</guid><dc:creator>JohnMurray</dc:creator><description>&lt;p&gt;After very carefully following the tutorial, I was able to correct my problem. &amp;nbsp;I created several combo boxes on the same page, each based off of a different parent table, using the same binding source for the child table (territoriesBindingSource). &amp;nbsp;All worked as advertised. &amp;nbsp;Thank you for a wonderful tutorial!!!&lt;/p&gt;
</description></item></channel></rss>