Guys,
One of the administration pages I'm designing is a bit different. It's for managing users however rather than using one LLBLGen collection or typed list to load the users from I'm using the Membership API in ASP.NET to create the users using calls such as Membership.CreateUser. The membership user tables obviously contain very generic data for a user e.g. email address / name and password reset questions and answer. I've also created a new User table table which contains other data for the user which is specific to the application e.g. company / department details / default purchase order no pre fix e.t.c.
The pattern I've used for other pages is a GridView combined with a FormView, in fact I've used the same pattern the HnD LLBLGen forum source code uses on some pages such as ManageIPBans.aspx. I need to present a list of all users which combines information from the asp net membership store and also the user table. You can access the user information from the ASP.NET tables such as aspnet_Membership however you need to use the CreateUser API calls to create a new user and can't simply create a new record in the aspnet_Membership table. Because of this I can't simply created a typed list which contains columns from both the aspnet_Membership and User table and then bind this typed list to the LLBLGenDataSource which is bound to the GridView.
On creation of a new user within the FormVIew I will need to use the CreateUser API call and then use the GUID value of the new user to use to create the new LLBLGen User entity with the remaining details.
Any ideas on the best approach to implement this so I could reuse as much LLBLGen / ASP.NET code as possible i.e. using data binding. The only approach I can think of is to manually add the rows to the grid view and avoid using a FormView because I can't see how to use data binding however I'm sure there's a better way.
Cheers
Matt