put a value in datagrid's column

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

in Mydatagrid, there is two columns "currency","exchangerate"
as the user input 'currency' , the exchangerate should be showed

dgMarking(currentCell.RowNumber, 2) = dtCurrency.exchangerate

I use messagebox.show to test the 'dtCurrency.exchangerate', it is correct.
however, nothing changed in dgMarking......
Please help
 
Hi,

Try this
dgMarking.Item(dgMarking.CurrentRowIndex, 2) = dtCurrency.exchangerate



Ken

-----------------

in Mydatagrid, there is two columns "currency","exchangerate"
as the user input 'currency' , the exchangerate should be showed

dgMarking(currentCell.RowNumber, 2) = dtCurrency.exchangerate

I use messagebox.show to test the 'dtCurrency.exchangerate', it is correct.
however, nothing changed in dgMarking......
Please help
 
Back
Top