Updating detailsview

Rated 3.94/5 based on 824 customer reviews

FAQ on the correct forum I am retrieving data using the Grid View with a stored procedure using a sqldatasource.

updating detailsview-79

updating detailsview-21

updating detailsview-47

Hey, I checked again, both with Bound and Template fields and I am getting new values .... I've used the same conditions as your case - buttons outside and manually binding, updating. Text; also, I could replicate your scenario only under one condition, and I really hope that you've taken care of this one: protected void Page_Load(object sender, Event Args e) (gets me new values when I check for Is Post Back) also, I could replicate your scenario only under one condition, and I really hope that you've taken care of this one: protected void Page_Load(object sender, Event Args e) (gets me new values when I check for Is Post Back) I think the above is correct in my case. On Item Updating the following gets me new values: Text Box Fname = (Text Box) dv Test. Please refer my current code below and point out the my logical exception. Query String["id] is used to get the record on the page. so I suggested to use this: Text Box test = (Text Box) dv Record. Find Control("address"); FYI, something similar works in my case and I did another test last night after I saw your thread to confirm before I replied. I have tested using current Details View Boun Field columns as well as Template Field columns.

Leave a Reply