views:

152

answers:

1

In .Net I have an Entitydatasource (EDS) that populates a gridview. The EDS is bound to the "one" side of a one to many relationship because these are the fields I need to update. I am Eval'ing information from the "Many" side to be displayed in the gridview as well.

If a record exists in the "Many" side but the matching record does not exist in the "one" side it does not display the record. In LINQ you can use the "DefaultIfEmpty" call to pull the other records and give them a default value.

Is there an equivalent to being able to default the value of the "one" side of the relationship so that the record is displayed in the gridview declaratively?

A: 

Closing out this question...no responses in a few months.

Jay
Why the down vote? Whats the procedure for questions that go unanswered for months?
Jay
Typically just let them sit. As the owner you can vote to delete the question but best bet is to just let it sit out there.
ahsteele