Freigeben über


ASP.NET Dynamic Data - Tips and Tricks #2

If you're running into a problem similar to this one:
"My Dynamic Data Web site is not working properly. My tables are read-only and no Edit/Delete/Insert buttons are displayed.",
you might want to check the primary keys in your database.

One of the main reasons for this to happen is when you don't have the primary keys set in your database. Make sure you have primary keys defined for all your tables; otherwise, Dynamic Data doesn't enable the read-write mode. After you set the primary keys in your database, you must regenerate your data model.

Comments

  • Anonymous
    July 15, 2008
    The comment has been removed