xyzio

Mapping foreign keys to primary keys in an Objectdatasource

leave a comment »

I was having a tough time finding how to display database data from a primary key in a drop-down and then have the selected item show up in my business class object when it returned.

I wanted to do this using an Objectdatasource because I had to reference several different tables in order to display my data.  As a newbie, I spent several days struggling on it when I found this set of tutorials on Microsoft’s MSDN site, specifically tutorial 20.  These tutorials nicely cover the basics of data manipulation in ASP.NET using C# and the Objectdatasource.

I hope this helps other like me who are struggling with the same problem.

Written by M Kapoor

January 26, 2009 at 2:49 am

Posted in ASP.NET, Programming, Resource

Tagged with ,

Leave a comment