i have a gridview with column name orderid, orderdate, quantity and totalprice. but when i try to update the quantity the price can't be update.
example: quantity = 2 totalprice = $120 but when i update to quantity = 3 , the totalprice still $ 120. so how to solve it ?Gridview in asp.net 2.0?
You need to assign an onrowupdated event for your GridView and have a subroutine / function compute the new value for you.
http://msdn2.microsoft.com/en-us/library鈥?/a>
No comments:
Post a Comment