none
Relation between PK and FK RRS feed

  • Question

  • Hello i'm using Express For Web to create a Web Application.
    I have 2 tables 1.User {Id(PK,autoincrement) , Username, Email , Password} 2.UserDetails {Userid(FK), Card_NR(PK), Email, Name}.

    My Problem is that when i want to save data on table UserDetails, the column Userid, which is the foreign key references to Id (PK), will take the data automatically from table User...

    how to do this in order to take ID FK directly from ID PK

    HELP PLEASE *_*

    • Moved by Oscar_Wu Wednesday, February 15, 2017 8:08 AM offtopic
    Friday, February 3, 2017 3:46 PM

All replies

  • Hi friend,

    This forum is for Visual Studio IDE, as your issue is about web development, I recommend you post it on the following forum to get a professional answer.

    https://forums.asp.net/

    Thanks for your understandings and cooperation.

    Have a good day:)

    Best regard,

    Fletch


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by Oscar_Wu Thursday, February 9, 2017 8:00 AM
    Monday, February 6, 2017 2:41 AM