Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A LINQ lookup dilemma
Message
De
03/07/2008 12:25:59
 
 
À
01/07/2008 14:09:24
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Divers
Thread ID:
01327573
Message ID:
01328745
Vues:
10
>>I use the "select new JobItemsUI(a.qty, a.part_no, a.dwg_no, a.Part.desc,a.price);" for display only data. When I get into editing I pull the entire entity record.
>
>
>What's my next step to allow editing of a selected row a ListView?
>Everything I have done so far has been for display and uses the ListView control. So now I want to create an edit form... I know you don't edit in a ListView, so maybe I add a double-click event handler or an "Edit" button, that passes the selected row key to another form that is designed for editing?

I use double click and a context menu with edit on it to jump to the edit form. I also use the xceed grid, but have kept it to a minimum so far.

>The form would pull the real Linq object and display a bunch of Textboxes?
>What kind of container do you use for the textboxes so that I can set the context of that container to the Linq oject that I pull? Do you use a ContentControl or what?

Yep HeaderedContentControl
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform