Click here to Skip to main content
14,736,834 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can any body help me, I want divide first column by second column and display result in third
in grid view
Updated 15-Feb-14 23:22pm
Abhishek Pant 16-Feb-14 4:34am
just take a key(should be unqiue) for accessing data in each rows of column and use division and diplay them in third..

1 solution

Use GridView.RowDataBound Event[^].

Get the first two cell values, divide and assign to third cell.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900