On Mon, Oct 18, 2010 at 10:14 AM, james <[email protected]> wrote:
> Hi,
>
> Im building a data driven windows app and I was wondering how do you
> specify a drop down for foreign key values?
>
> For example if a table order has a foreign key of customer number how
> would i make that a drop down menu when entering a new order?
-------------------

You pull the customers data to some sort of container.
Then identify the Text and Value fields.
 ddlAbout.DataTextField = "FullName";
 ddlAbout.DataValueField = "UserId";
 ddlAbout.DataBind();

Make sense?
-- 
Stephen Russell

Sr. Production Systems Programmer
CIMSgts

901.246-0159 cell

Reply via email to