Home / plentyoffish com online dating / Gridview edit not updating database

Gridview edit not updating database

I'm pretty sure I need to change my Update Command of the sql Data Source that feeds my Grid View, and/or add code to my dropdown box's but I'm at a loss of how to do that.

For uploading image on this forum, select image option as following image.

hello sir, I hv copied your code above , I am getting error at update operation, - 'Dynamic SQL generation for the Update Command is not supported against a Select Command that does not return any key column information.'please help thanks in advancenilesh You are missing primary key in table.

Recreate your table and set "id" column as Primary Key with Identity Column.

If you know of an article or forum post that would help me out, I'd love to see it. It's the code that was automatically generated by VWD when I created the Sql Data Source.

It does seem odd because there's no link to the Drop Down Box's value in there.

195 comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*