1 Replies - 596 Views - Last Post: 25 July 2017 - 06:39 AM Rate Topic: -----

#1 hers  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 24
  • Joined: 05-June 16

Multiple checkbox

Posted 25 July 2017 - 04:04 AM

Hi,

I am working on ASP.NET MVC5.

I have a two class that has many fields. In a different view, I want to insert two fields from on table and a list of one field from the other class.

Table A

CentreId
AdminId (UserId)
CentreName
Address
Phone

Table B
UserId
FirstName
LastName
Email
Password

The view will have fields like below

First Name
Last Name
Email

Centres
-------List the centres based on the UserId-------

Button Save

When the save button is clicked, I wish to add the details to another table like below

Table C

TeacherId
AdminId
CenterId

How can I accomplish this? Please help

Thanks

Is This A Good Question/Topic? 0
  • +

Replies To: Multiple checkbox

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 13488
  • View blog
  • Posts: 53,864
  • Joined: 12-June 08

Re: Multiple checkbox

Posted 25 July 2017 - 06:39 AM

What have you tried, looked into, or considered?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1