But the value of the ddl box is not inserted into the record.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.Net Grid View simple and also combining the powers of ASP.
I have specified Data Key Names as Auto ID, the primary key of the database table.
Then I have several methods attached with following events Get video of hundreds of ASP. On Row Editing - Edit Record On Row Cancel Edit - Cancel Record On Row Updating - Update Record On Row Deleting - Delete Record As I set Auto Generate Columns property to false so I am going to manually write the fields name that I need to appear in the way I want.
So I have to specify how I want them to appear in the normal view and edit view.
NET 3.5 Basics section of the Wrox Programmer to Programmer discussions.
When I update a record, I can change the [Name] of the activity (because it's a default textbox generated by the Grid View), and the record is updated fine.