I have a <asp:DetailsView> based on a table that has a details table, like so:
DB1 --> TABLE1 --> Customers: ID, name, street, mail
DB1 --> TABLE2 --> SitesToCustomers: CustomerID, SiteID
Problem One: I need my details view to show / edit both values from customer table and SitesToCustomers table, How do i do that?
Problem two: The site name (oppesed to its code that is saved at SitesToCustomers) is found on another DataBase in this table:
DB2 --> TABLE1 --> Sites: ID, SiteName
How can make the data source show site names according to their id's from SitesToCustomers table?
all of the code behind is c#.
Any help will be much appreciated,
and please use code examples, i'm pretty new to asp.net / c#.
View Complete Post