I am new to VB.NET and am trying to initially pass some hard-coded data from a VB class file into fields in a HTML document. This will be triggered by clicking a button on a form. The data I am passing is basically statistical data about a person i.e. age, height, weight etc. What do I need to include in the VB file to get this working - so far I have:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim person As PersonGenerator = New PersonGenerator
person("Height") = 180
person("Weight") = 86
With person
.Working = 1
.Smoker = 1
html = .toHtml()
End With