gridview has columns
1st column is quantity
2nd column is unit cost
3rd column is total (quantity * unit cost)
user enters all items
how do i bind the 3rd column to the gridview
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
michael creekPosted Sep 2, 2009, 8:24 AM
I can get the values in the code behind using:
TextBox r1c7 = (TextBox)row.Cells[5].FindControl("txtamount"); for example
but how do I set the Text value in the asp.net, i.e.,
Text='<%# Bind("[whatgoeshere]") %>'>
Roei BarPosted Sep 1, 2009, 6:54 PM