Getting old value of the cell - Datagrid
Posted on 2004-08-10
I've a datagrid in a webform in which I have 2 columns, both defined as templatecolumns. First column is a textbox and second is a dropdownlist. E'thing is fine so far. What I need is this.
When I try to edit this, I need to fetch the current value of both the cells before I edit. How to do this? It works fine if I use a bound column and use this..
But this I reckon won't work with a templatecolumn. How will I fetch the value of the cells? I hope I'm clear with the problem.
TIA & cheers,