| | |
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 |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic beginner browser button buttons center checkbox client code convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic eclipse excel fade filter forms ftp generatetags gridview html images inline input insert intel internet listview mobile monitor net objects open panel passingparameters pdf picturebox port position print printing problem read remove save searchvb.net select serial settings shutdown soap sorting sqlserver survey table tcp temperature textbox timer timespan transparency trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web webbrowser winforms wpf wrapingcode year





