Employee Form with multiple email addresses

Last post 03-11-2008 11:07 AM by mkrijtenberg. 0 replies.

Sort Posts:

  • Employee Form with multiple email addresses

    03-11-2008, 11:07 AM

    Okay.. I've been looking all over the internet and forums, but couldn't find a decent answer.

    I have two tables (Employee and EmployeeEmail)

    EmployeeId - int
    FirstName - nvarchar(64)
    LastName - nvarchar(64)
    
    EmployeeEmailId - int
    EmployeeId - int
    Email - nvarchar(256)
    EmailType - nvarchar(64)
    

    With this in mind, I want to create a FormView which allows me to edit the employee details (names etc.) and also has some kind of datalist where you can add multiple email addresses. Same goes for other tables, like phone numbers and websites and even addresses.

    But how would one do this? I'm working with the Linq datasource object and I can get the employee form working... but how do I bind the email table? I'm okay with having it only work in the edit template (doing this in the insert template would require a lot of programming, as you need to retrieve the employee insert ID etc.)

     Thanks in advance!

Page 1 of 1 (1 items)
Microsoft Communities
Page view counter