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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top