hi..i am learning vsiual studio 2008 (asp.net)..i hav created a db in ms access(. there are two columns in it ID (auto generate) and the name(string) .. i set the id to primary key..
i hav created a page that has a details view control with enable inserting set to true.. when ever i try to insert a value, i get an error stating that the value of id can not be null..Dosent the value of id gets generated by itself?? how do i solve it??

in visual studio 2005 there was a bug like what you told. check the markup that vs generated on the aspx page. probably it tries to insert an id to the database. clear that section by hand. that was what i did when i had the same error in 2005 last year. such things doesnt happen when using ms sql server

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.