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
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
FREE SEO Check & Google Maps Check for Sri Lankan Businesses | Web Design, Website Price Rs 14,900 |
LankaSolve
Updated:
Oct 20, 2026
ඕනම රටකට සෙට් වෙන CV එකක්
ErMurazor
Updated:
Oct 17, 2026
Hambantota
7 Acres Beachfront Land For Sell DownSouth , PerPerch Price 420 000
1024 Digital
Updated:
Oct 14, 2026
Baseus PI LITE INDOOR CAMERA
ErMurazor
Updated:
Oct 12, 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="Error365!" data-source="post: 15884208" data-attributes="member: 406653"><p>මුළු ෆයිල් එකම replace කරන්ඩ ඕනේ නැහැ මචන්. මම කලින් දුන්න කෝඩ් එක හොඳට බලපන්. <strong>" <span style="font-family: 'Courier New'">prop.setProperty("test_A",Value1);</span> "</strong> test_A කියන එකෙන් තමයි බන් ඒ ලයින් එක select කරගන්නේ. ඊට පස්සේ උඹට ඒ ලයින් එකේ ඕනෑම දෙයක් කරන්ඩ පුළුවන්. හරියට අපි <strong>SELECT * FROM table WHERE id='test_A'</strong> query ලියනවා වගේ තමයි බන්.</p><p></p><p><span style="font-family: 'Courier New'">String Test1 = prop.getProperty("test_A");</span></p><p><span style="font-family: 'Courier New'">prop.setProperty("test_A",Value1);</span></p><p></p><p>උඹ මම කලින් දුන්න කෝඩ් එක හරියට බැලුවේ නැහැ නේද මචන්. එක බලපන්. උඹට හොඳට තේරෙයි</p><p></p><p>මේකේ මචන් මම බේසික් සාම්පල් එකක් දැම්මේ මේක ඕනේ නම් ඒ විදහට data store කරන්ඩත් පුළුවන් බන්. එක line එකක data තරමක් පුළුවන් බන්. උඹ Array එකක් විදිහට දාපන්. මෙහෙම හිතපන්</p><p></p><p>Name Age Score</p><p></p><p>AAA 12 150</p><p>BBB 16 340</p><p>CCC 18 275</p><p></p><p></p><p>මම කලින් දාල තිබ්බ sample code එකේ වගේ කරපන්.</p><p></p><p>AAA 12 150 මේක අර property file එකේ මේ විදිහට store කරපන් >> AAA,12,150</p><p>පස්සේ String Array එකකට ගනින් මේ String එක (property file eken ගන්න String එක ). පස්සේ එක split කරපන් "," එකෙන්. පස්සේ උඹට ඕන Data එක. Array එකේ index එකෙන් ගනින්.</p><p></p><p> </p><p></p><p>උඹට for loop එකක් දාලා හරි ගන්ඩ පුළුවන්. </p><p>උඹට ඕන විදිහට කපල කොටලා හදපන්.</p><p></p><p>මෙහෙම කරොත් property file එකේ එක line එකක data ඕන තරමක් save කරගන්ඩ පුළුවන්</p></blockquote><p></p>
[QUOTE="Error365!, post: 15884208, member: 406653"] මුළු ෆයිල් එකම replace කරන්ඩ ඕනේ නැහැ මචන්. මම කලින් දුන්න කෝඩ් එක හොඳට බලපන්. [B]" [FONT="Courier New"]prop.setProperty("test_A",Value1);[/FONT] "[/B] test_A කියන එකෙන් තමයි බන් ඒ ලයින් එක select කරගන්නේ. ඊට පස්සේ උඹට ඒ ලයින් එකේ ඕනෑම දෙයක් කරන්ඩ පුළුවන්. හරියට අපි [B]SELECT * FROM table WHERE id='test_A'[/B] query ලියනවා වගේ තමයි බන්. [FONT="Courier New"]String Test1 = prop.getProperty("test_A"); prop.setProperty("test_A",Value1);[/FONT] උඹ මම කලින් දුන්න කෝඩ් එක හරියට බැලුවේ නැහැ නේද මචන්. එක බලපන්. උඹට හොඳට තේරෙයි මේකේ මචන් මම බේසික් සාම්පල් එකක් දැම්මේ මේක ඕනේ නම් ඒ විදහට data store කරන්ඩත් පුළුවන් බන්. එක line එකක data තරමක් පුළුවන් බන්. උඹ Array එකක් විදිහට දාපන්. මෙහෙම හිතපන් Name Age Score AAA 12 150 BBB 16 340 CCC 18 275 මම කලින් දාල තිබ්බ sample code එකේ වගේ කරපන්. AAA 12 150 මේක අර property file එකේ මේ විදිහට store කරපන් >> AAA,12,150 පස්සේ String Array එකකට ගනින් මේ String එක (property file eken ගන්න String එක ). පස්සේ එක split කරපන් "," එකෙන්. පස්සේ උඹට ඕන Data එක. Array එකේ index එකෙන් ගනින්. උඹට for loop එකක් දාලා හරි ගන්ඩ පුළුවන්. උඹට ඕන විදිහට කපල කොටලා හදපන්. මෙහෙම කරොත් property file එකේ එක line එකක data ඕන තරමක් save කරගන්ඩ පුළුවන් [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom