Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
RHCSA, RHCE, AWS, Docker, Kubernetes Training
Sanjeewani95
Updated:
Tuesday at 10:28 AM
🛡️ Kaspersky Antivirus – 1 Year / 1 Device | Rs. 2,300 | Only 9 Left
KSPathirana
Updated:
Monday at 2:42 PM
Ad icon
Professional CCTV Installation Service
Techguy231
Updated:
Sunday at 10:50 AM
Ad icon
I'll research & write an article - Rs. 2000 onwards
Blogerwiki
Updated:
Sep 3, 2026
House Plan
lenura
Updated:
Sep 2, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
ElaKiri Programmer's Club
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="MihiCherub" data-source="post: 19421623" data-attributes="member: 238676"><p><span style="font-size: 12px">JAVA HELP - UNIT OF MEASUREMENTS</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">මචන්ල මම කෙටියෙන් කියන්නම් මේකයි ප්රශනෙ. මට ඕනෙ unit of measurements (UOM) ටිකක් combo box එකකට දාගන්න. පටන් ගන්නකොට මේ combo box එක හිස්. DB එකෙන් uom එක ගන්නව. <u>එතකොට ඒ UOM එක මෙන්න මේ ටිකෙන් එකක් වෙන්න පුලුවන්.</u></span></p><p><span style="font-size: 12px"><u></u></span></p><p><span style="font-size: 12px"><u></u>//Pound, Kilogram, Gram, Miligram, Ounce,Centimetre, Metre, Yard, Foot, Inch</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">දැන් ඒ UOM Weight වලට අදාල UOM එකක් නම් මට ඉතුරු UOM ටික combo box එකට දාගන්න ඕනෙ. <span style="font-family: 'Arial'">ඒකියන්නෙ ඒ uom එක මේ පහල තියෙන uom වලින් එකක් නම් ඉතුරු ටික add කරගන්න ඕනෙ.</span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'">//Weight - Pound, Kilogram, Miligram, Gram, Ounce</span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'">Ex 01- </span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'">Combo box initial state = Empty</span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'">DB return UOM = 'Miligram'</span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'">Combo box state = </span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">Pound, Kilogram, Miligram, Gram, Ounce</span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">Ex 02- </span></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">Combo box initial state = Empty</span></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">DB return UOM = '</span></span></span><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">Foot'</span></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">Combo box state = </span></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">Centimetre, Metre, Yard, Foot, Inch</span></span></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"></span></span></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">මේක මට if else ගොඩක් දාල කර ගන්න පුලුවන්. ඒත් මට ඕනෙ හොද ඇඩ්වාන්ස් ක්රමයක්. </span></span></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"></span></span></span></span></span></p><p><span style="font-size: 12px"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'"><span style="font-family: 'Arial'">උදවු දෙන හැමෝටම 13+ ගානෙ දෙන්නම්.</span></span></span></span></span></p></blockquote><p></p>
[QUOTE="MihiCherub, post: 19421623, member: 238676"] [SIZE=3]JAVA HELP - UNIT OF MEASUREMENTS මචන්ල මම කෙටියෙන් කියන්නම් මේකයි ප්රශනෙ. මට ඕනෙ unit of measurements (UOM) ටිකක් combo box එකකට දාගන්න. පටන් ගන්නකොට මේ combo box එක හිස්. DB එකෙන් uom එක ගන්නව. [U]එතකොට ඒ UOM එක මෙන්න මේ ටිකෙන් එකක් වෙන්න පුලුවන්. [/U]//Pound, Kilogram, Gram, Miligram, Ounce,Centimetre, Metre, Yard, Foot, Inch දැන් ඒ UOM Weight වලට අදාල UOM එකක් නම් මට ඉතුරු UOM ටික combo box එකට දාගන්න ඕනෙ. [FONT=Arial]ඒකියන්නෙ ඒ uom එක මේ පහල තියෙන uom වලින් එකක් නම් ඉතුරු ටික add කරගන්න ඕනෙ. //Weight - Pound, Kilogram, Miligram, Gram, Ounce Ex 01- Combo box initial state = Empty DB return UOM = 'Miligram' Combo box state = [/FONT] [FONT=Arial][FONT=Arial]Pound, Kilogram, Miligram, Gram, Ounce [/FONT][/FONT] [FONT=Arial][FONT=Arial][FONT=Arial]Ex 02- Combo box initial state = Empty DB return UOM = '[/FONT][/FONT][/FONT][FONT=Arial][FONT=Arial][FONT=Arial]Foot' Combo box state = [/FONT] [FONT=Arial][FONT=Arial]Centimetre, Metre, Yard, Foot, Inch මේක මට if else ගොඩක් දාල කර ගන්න පුලුවන්. ඒත් මට ඕනෙ හොද ඇඩ්වාන්ස් ක්රමයක්. උදවු දෙන හැමෝටම 13+ ගානෙ දෙන්නම්.[/FONT][/FONT][/FONT][/FONT][/SIZE] [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom