By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,640 Members | 1,331 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,640 IT Pros & Developers. It's quick & easy.

Getting av value from a field in a dataset

P: n/a
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
Nov 11 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

Nov 11 '06 #2

P: n/a
Thanks for your answer. Yes I am Norwegian.
reidar
"Cor Ligthert [MVP]" <no************@planet.nlskrev i melding
news:Og**************@TK2MSFTNGP04.phx.gbl...
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


Nov 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.