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
 
Back
Top