| | |
Display weight base on a age value?
Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Sep 2008
Posts: 23
Reputation:
Solved Threads: 0
Hey,
i am trying to display weight base on a age input without using a table vb.net. Say a age can be anyware from 1 to 18 yrs and weight at 1 = 11kg with a avg increase of 3kg per year. I thought of using a for loop but not sure how to connect that to the age.
what method could best solve this in vb.net any suggestions?
i am trying to display weight base on a age input without using a table vb.net. Say a age can be anyware from 1 to 18 yrs and weight at 1 = 11kg with a avg increase of 3kg per year. I thought of using a for loop but not sure how to connect that to the age.
what method could best solve this in vb.net any suggestions?
VB.NET Syntax (Toggle Plain Text)
Dim iAge, iWeight As Integer iAge = Val(TextBox1.Text) iWeight = ((iAge - 1) * 3) + 11
hth
Samir Ibrahim
![]() |
Similar Threads
- Firefox Compatibility help with script (JavaScript / DHTML / AJAX)
- trojans...now nothing opens and I get a paint can't open error (Viruses, Spyware and other Nasties)
- Open In New Window Php (PHP)
Other Threads in the VB.NET Forum
- Previous Thread: Mdi Form
- Next Thread: comment Multiple lines
| Thread Tools | Search this Thread |
.net .net2008 2008 access advanced application array basic beginner browser button buttons center click client code combo convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic eclipse excel exists fade filter forms function generatetags html images input intel internet listview map mobile module monitor msaccess net number objects open panel pdf picturebox picturebox2 port position print printing problem read regex remove right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey temperature textbox timer timespan transparency txttoxmlconverter user usercontol vb vb.net vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms winsock wpf wrapingcode xml year





