Asp detailsview not updating
Problem is when I press the auto generated Edit button make some change and press the Update link I get the below error; Updating is not supported by data source 'mysqlserver' unless Update Command is specified.What is the Updat Command that I need to specify if my Select command is SELECT Field A, Field B FROM My Table?
I changed that to "Status" and it's saving it now.Ok, Now I'm sure this was working the other day and I don't think I've changed anything but now it's not working and I can't see anything wrong with the code.Basically I have a details view with product information in it, when the user clicks edit it goes into edit mode when I change any of the fields and click update it updates but with the old values. Its not working It shows zero value when i assign to variable string. Thanks in advance You don't need to store the value in a textbox at all.Add("Member Id",s_uniqueid); // Store the string unique id string to session variable so far called Member Id Or Use querystring to transfer the values from one page to another If you are developing application using ajax, then you need to use Response.