Iwebzem, you have asked for help but you have not replied.
if you have solved your problem please let us know.
share your solution so other can benefit.
previously, i asked you to explain how this line "works" in your code.
LL.Text=LL.Text & "<br>--" & datarow1("mo_ye") ' this line works OK
you don't specify what is meant by "works"
i'll assume you mean the rows are identified in the string builder.
had you replied, next i would have asked you about "this line".
datarow1("mo_ye")="33333" '??this line does not update the value
i'll assume you mean the values in the DataRow.
this should work. however, i think all the values in your column will
be "33333".
that is, not just a value but all values.
is that what you mean by ".....not update the value" ?
if you want only a specific row to have "33333" you would need to specify an Index for that particular row.
lastly, if you mean the value or values in the DataSource are not
being updated, i would try removing the following line from your code.
ds.AcceptChanges()
hope this is of some help to you.
please respond when you ask for help!
many want to help but we don't want to waste time doing research, especially if you already got a solution. share it.
|