Asp detailsview not updating

08-Oct-2020 05:26

There are a number of ways to create a data source control, including dragging data elements from Server Explorer or Database Explorer onto the page.In this walkthrough, you will start with the This walkthrough has illustrated the basics of creating a Web page that allows users to modify data records.I thought it should pass the Drop Down List ID, which was "Status List".

I can't see anything wrong with the code and it's driving me mad. The only problem is that ID (PK) also display in Details View. Is there a way to hide the Primary Key while keeping it working?Thanks Regards "Munna" news:6b**********************************@k37g2000 hsf... On Jun 22, am, "John" Hi I have a Details View that is bound to a sql server.Also, I used the "enable editing" option on the Details View.Thanks, Derek Hi, Derek i guess u r probably using the "original_" type query........do that rather just use a primary key to the database like "Info_no" & refrence the row to be updated with this key.

I can't see anything wrong with the code and it's driving me mad.

The only problem is that ID (PK) also display in Details View. Is there a way to hide the Primary Key while keeping it working?

Thanks Regards "Munna" news:6b**********************************@k37g2000 hsf... On Jun 22, am, "John" Hi I have a Details View that is bound to a sql server.

Also, I used the "enable editing" option on the Details View.

Thanks, Derek Hi, Derek i guess u r probably using the "original_" type query........do that rather just use a primary key to the database like "Info_no" & refrence the row to be updated with this key.

A Visual Studio project with source code is available to accompany this topic: Download.