Home All Groups Group Topic Archive Search About

How to update one cell while other are same in datagrid?

Author
18 Aug 2006 11:15 AM
DotNetGuru
Hi to All
I'm new to this group I've little problem scenerio is...
I've datagrid with 5 cloumns what I want is just update the 4the
cloumn's cell value if first two are same by adding the new one value
for 4the columns cell
example
                col1 col2 col3 col4 col5
value=         1     2     3     4     5
new value=  1      2     9    6      7

I want update the first row 4th coumn value which is (4) just add 6
into 4 whic is the new value  and result should
                  col1 col2 col3 col4 col5
value=           1     2     3      10     5

NOTE:values are comming in datagrid from textbox and I'm using
datatable within datagrid
thanks in advance
reply with code

AddThis Social Bookmark Button