Hi,
I have a gridview with columns as Item,price,quantity. I want to calculate for each row which should be like:
total=price*quantity and finally calculate the total for all the items.. How to do this? please guide
suchitra says:Its not like that.. But it is hard to explain it to some people
But use postbacks for each textbox you will be too expensive.
I have written an article on same with live demo. check out
http://www.aspsnippets.com/Articles/Calculate-Row-Total-and-Grand-Total-in-ASPNet-GridView-using-jQuery.aspx
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.