Last post Jan 19, 2011 03:15 PM by maximusmd
Jan 19, 2011 10:58 AM|maximusmd|LINK
I followed the video below to learn more about Dynamic Data:
So I added 2 independent tables into my project (they dont have any relationship to each other).
Well, I can see the 2 tables and I can click on each one to display all the records, however I dont see the link Delete,Edit, Insert :(
I edited the Global.asa accordingly but still it wont do what the video does...
Jan 19, 2011 01:08 PM|Shuvo Aymon|LINK
Please share your codes.
Jan 19, 2011 02:38 PM|maximusmd|LINK
what code you would like to see? everything was created automatically.
Jan 19, 2011 02:54 PM|sjnaughton|LINK
Hi maximusmd, DD requires the tables to have a Primary Key defined, and if you are just starting out I would also recommend that the PK column be auto incrementing using in SQL Server you would set the identity of the column to yes.
The reason for this behaviour is the Data models treat a table with out a PK as read only as they use the PK to track entities.
Dynamic Data 4
Jan 19, 2011 03:15 PM|maximusmd|LINK
Thank you so much!