Getting av value from a field in a dataset

  • Thread starter Thread starter reidarT
  • Start date Start date
R

reidarT

I have a dataset with one field called Betaling.
How can I get this field assigned to the variable Enhetpris?
The Buttons code is:
Sub Beregn_OnClick(ByVal s As Object, ByVal e As System.EventArgs)
Dim Enhetspris As Integer = dsStevneAvgift.FieldValue("Betaling")
End Sub

reidarT
 
Reidar,

I did not know that "Betaling" is a Norge word to, before I was looking at
your email adres I thought, is Reidar Dutch or Belgian,


Dim Enhetspris As Integer = CInt(dsStevneAvgift.FieldValue("Betaling"))

I hope this helps,

Cor
 

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