Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Add States Lookup Combo to Employees Form C# ADO.NET VS 2012

$
0
0

Ex: Employees Details View form with US States drop-down combo Lookup

Problem: [States] is the Parent Table and [Employees] is Child Table in proper 1 -> Many Relation,

as the foreign key [Employees].StateID is in the Employees table

I do not want to lookup Employees by state which is the nature of the Relation and all examples found.

A view with joins is only practical for read-only.

The [States].StateID in the combo box needs to be bound to [Employees].StateID while displaying the state name in the combo box.

Is there a method to accomplish this Data Bound or must it be done manually?

PS: Assume need for additional lookups for Employees input such as Title, JobTitle,  Department, MaritalStatus, etc.

Thank you for any suggestions!!!


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>