What I need to do is to be able to edit a quantity in a child row and then based on the new value update the parent row cost. I just tried your suggestion (setting the row variable using the var keyword and added the if statement), but it still did not work. Thanks for looking at this, Aaron I made a few changes and it's still not working.An overview of what I'm trying to do: Parent row has 3 columns: Name, Qty, and Cost. I'm currently trying to see if I can reproduce the issue with test code I can sent in full. Thank you, Aaron This usually happens when a grid update / data source update is being called from somewhere outside the cell.
With that instead of changing the values to the grid you could just say var something = row.In this article, we will explore how to add, update, delete and select a record from sql server database using gridview control in a simple way.We have selected four columns from Employee Details table.Here Mudassar Ahmed Khan has explained how to Export a Grid View with Images or Pictures to Word Excel or PDF Formats in ASP. In this article the Grid View is displaying images stored on disk and th Hi, This is Mudassar Khan. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.Once you execute the above table and insert scripts, you will get the below records in the table initially to load data into gridview control.
Execute the below SP_Customer stored procedure in sql server database which is used to handle insert, update, select and delete a record into customer table. Thank you, Aaron The Parent Row property is obsolete in the latest release Q2 2010 SP2 ...914, and if you don't have the latest version i would suggest updating to the latest version, there are a series of bug fixes and improvements Hope this helps, if you have any other questions or comments, please let me know, Best Regards, Emanuel Varga but I was getting the same error. Any idea why the error is occurring, is there a better way to synchronize values from the child rows to parent rows?First, we need to prepare the database table and stored procedure for gridview operations such as insert, update & delete a records, here I’m using sql server 2008 for all database activities, for this sample I have created the customer table and stored procedure for all mentioned gridview operations.Create the customer table in your own test database using below table script and insert some records initially to load gridview with data.This article explains how to add a pop-up control to a gridview in order to display drill-down (Master detail) information without using ajaxcontroltoolkit Modal Popup extender.