Last post Nov 30, 2012 09:29 AM by klca
Nov 18, 2012 05:02 AM|shilpak|LINK
In the listDetails page I need to display data from the another table which is
not related for FK relation. How should i handle this. Is their templete or attribute to diaply the dropdown of unrelated data in the insert and edit view.
Nov 18, 2012 12:23 PM|sjnaughton|LINK
Hi shilpak, not exactly sure what is is you want :)
Nov 18, 2012 08:33 PM|Decker Dong - MSFT|LINK
I need to display data from the another table which is
not related for FK relation.
As far as I see, can you show us your:
1) Table schema and its diagrams?
2) For an example, what data you wanna show and what you don't want?
Nov 30, 2012 06:53 AM|parthi789|LINK
I could not understand actually.But i hope this is the solution you are searching for,
DropDownList.DataSource = dataset;
DropDownList.DataTextField = "test to display";
DropDownList.DataValueField = "text for original";
and in onselectedindexchanged you can use the value to chang the values in list
Nov 30, 2012 09:29 AM|klca|LINK
What in the world is the reason why, if you are going to use that relationship in a screen anyway, you don't include such key in your database entity as a foreign key ?
Carlos N. Porras