masterdetail

How to bind nested objects, or master-detail-binding, in code?

I have a three nested classes, Show, Season and Episode, where a show has seasons, and seasons has episodes. I want to bind two listboxes so that the first lists seasons, and the second lists episodes in that season. How can I do this? I prefer to set this up in code, not xaml, but if you know how to do it with xaml, it's better than ...

The Master/Detail Behavior

I use Delphi 7 + Zeos + MySQL, and I got a problem when I try to post Master table, the Details datasets are posted first, raising a referencial integrity exception in data base, 'couse details tables needs the ID of the Master table. Can I revert this behavior? Can I persist the master table before the details? ...

How to set up Header/Lines in WPF/Silverlight

Hi, Do you have any best practices for setting up Header/Lines forms (Also known as Header/Details) in WPF or Silverlight? Preferably using the Mode-View-ViewModel design Pattern to fit in with the rest of my application. An example would be if I had a grid that displayed all SalesOrders in the database, and the underneath that a grid ...

Newbie to Newbie Ajax tips for ugly Invoice webpage

Some assorted pseudotips about "invoice oriented" master/detail web sites, Examples (but with small detail) and highlights: The demo at SimplyInvoices: the 5 blank items editable without a modal popup detail http://freelanceswitch.com/money/7-online-invoicing-apps-for-freelancers/ has some interesting web sites Questions: Large pr...

LINQ To SQL - What is the most efficient way to loop through master/detail?

The only thing I can find when dealing with master/detail and LINQ is through databinding. However, I am using LINQ to query my data and will need to manually loop through results without the need for databinding. My final intent is to loop through a master result set, get a grouped list of children, and output the master/detail data as ...

Master Detail Databinding Winform with Detail in NEW window

There are a lot of master/detail databinding examples with detail form on the same window than the master, I can't find any example where detail is in a new window. Do you know any example in C# or at least in VB.NET ? ...

WPF Multiple master/details, same grid

Hi I have a tree view which has three levels. Lets say its a league, division and team treeview. Now, when I select each of the items in the tree, I would like to see detailed information about it. Whats the best way to achieve this? Since Grid doesn't items (like a ListBox), I can't just set its ItemsSource and make a DataTemplate....

Odd Binding behavior in WPF

Hello, I will try and explain this as concise as possible. I have 2 objects, the first which we will call object A that has an Id property and the second we will call object B, which has a ParentId property. The obvious relationship is that object B's ParentId is set to an object A's Id property. I am using the MVVM pattern, so on the vi...

JSF library for Master - Details screen

I have a JSF - Spring - iBatis Technical stack. I need to create Master Details relationship screen with two level of Master_Details captured in single screen. Which JSF library gives support for such requirements? Exact Need: Have to create at least 5-6 screens with Header - Line - LineItemDetails - LineTaxDetails ...

Master/Detail insert using BCP?

I've a master table with identity on for the primary key and I've some child tables. When I insert a record to the master table using BCP, how can I use the newly created ID from the master table to insert in the related child tables (May be BCP again)? Will it be possible? I may be able to set identity off, but, will it work? Thanks J...

How to create master/detail view in Microsoft dynamic CRM 4.0?

Hi Can anybody please show me step by step how to create Master/Detail(Parent/Child) view in Microsoft Dynamic CRM 4.0? Thanks ...