Advanced SQL generations options:
generate INSERT, UPDATE, and DELETE statements is all greyed out?
in my sql data source control.?
I have made a brand new instance with sql server management express...have I missed something?
Does the table have a Primary key defined?|||Sorry about being slow to get back
NO,
|||Thankyou very much Mr Wellens.....
I just put in a primary key into table and all working fine.
Does that mean you cant insert into any table without it having a primary key.
many many thanks
|||>>Does that mean you cant insert into any table without it having a primary key.
Well YOU can, but ASP.Net wants a primary key.
If there was no primary key, the ASP.Net code could get very confused about what row needs to be updated or deleted.
No comments:
Post a Comment