Last post May 09, 2016 08:55 AM by oned_gk
May 09, 2016 08:15 AMfirstname.lastname@example.org|LINK
I am using visual studio community 2015
when I right click on gridview I am unable to see enable editin and enable deleting options, I can see enable paging and enable sortin,enable seletion but not editing and deleting?
why is that so?
also when I configure datasource and go to advanced( to check the generate INSERT,UPDATE,DELETE) it is disabled?why is that so?
May 09, 2016 08:55 AM|oned_gk|LINK
enable editing and enable deleting will available if you have configure editcommand and deletecommand in the datasource.
To enable autogenerate insert,update and delete, ensure you have a key column in the database i.e ID,
and ensure ID is selected in datasource wizard i.e (ID, NAME, ADDRESS) then check autogenerate insert,update and delete