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
"reidarT" <re****@eivon.noschreef in bericht
news:uz**************@TK2MSFTNGP02.phx.gbl...
>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