mehami api gamu server and client pc dekak
server pc eka mysql install karanwa harida, itapse client pc eka danwa java pos ekak, itapse ee java pos eka ara server eka mysql db ekata connect wene one
network type : lan
mehami api gamu server and client pc dekak
server pc eka mysql install karanwa harida, itapse client pc eka danwa java pos ekak, itapse ee java pos eka ara server eka mysql db ekata connect wene one
network type : lan
java application ekak api develop karadi localhost/port dala develop karata api eka implement karadi ethanta ip ekak dana one server ,eth ape normal pc ekak server ekak akranwan ethana ip ekak damata wadak na modka dynamic ip ne apita thiyane, meka overcome karana man pc eka static ip hadla mysql db server ekak host kara pc ekaka, itapse client pc eka java applicaiton thiyana ekata ee server pc eka ip ekai port ekai dela baluwa eth connect wen nane db ekata,
kohmda hari widhata meka karagne, big help
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/photocopy","root","");
String reportpath = "C:\\Users\\PCLand\\Documents\\NetBeansProject\\JavaApplication29\\src\\helo\\report1.jrxml";
JasperReport jr = JasperCompileManager.compileReport(reportpath);
JasperPrint jprint = JasperFillManager.fillReport(jr, null,con);
JasperViewer.viewReport(jprint);
con.close();
mena code eka, mata wagema aul giyoth meka reffer karana
@root adoo hadagatha bn, mechara wela aula thibila thiyane, man hadapu report template eka bn cherry.jpg kiyala image ekak thiba.. kohma hari eka load wen nathi case ekak thibila thiyane, hiyoo sallii wada wada wdada
udaw karapu hamotama thanks
adarei adarei adarei
dukai.............................
aya wena mokuth na , jframe ekak haduwa button ekak dama oka liwa
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/photocopy","root","");
JasperDesign jdesign = JRXmlLoader.load("C:\\Users\\PCLand\\Documents\\NetBeansProject\\JavaApplication29\\src\\helo\\report1.jrxml");
String sql = "select * from copyprices";
JRDesignQuery updatequery = new JRDesignQuery();
updatequery.setText(sql);
jdesign.setQuery(updatequery);
JasperReport jreport = JasperCompileManager.compileReport(jdesign);
JasperPrint jprint = JasperFillManager.fillReport(jreport, null,con);
JasperViewer.viewReport(jprint);
}
bros , library ekak thibila add kara. dan errors mokuth penan na habai print weneath na mokuth
guys man netbeans ekata jasper librarys tika add karala button event ekata code kara print wene report ekak, eth program eka run karala button eka press karama error ekak ewaa, youtube tutorials uth baluwa ungem oya steps tika karadi wada, mage man hithane podi case ekak thyiane, katada puluwan help karana, big help :pick:
to my knowledge, comparing java and php is pointless, cuz java is a general purpose language and php is a server side language, aynway f*** society, anybody can say anything, it's your call to choose which language you're mastering and what to do with it, anyway if you are good at any programming language their are lots of opportunities in the world as a developer.
respect programmers :pray: peace!
The Real Life Iron Man (Elon Musk) has revealed his mind blowing next generation pickup truck "Cyber Truck", basically it's the next generation of trucks.
So talking about the Cyber Truck, it is a electric truck which is similar to Tesla, the cool thing is this truck has no chassis, but this truck has an exoskeleton, which is supper cool, the reason that this truck doesn't have a chassis is because as per Musk the chassis and body of a truck is an extra load, like in old airplanes, but like modern airplanes this vehicle also has an exoskeleton which is hard and fit for all purposes of a truck,
on the other hand the design, you can see this truck looks like it's a vehicle used in movies which shows about space explorations , I think that's because Elon Musk likes to live in mars so he prepares to that goal by making such vehicles
one of the cool things in this truck is the suspension, not like usual truck suspension, this truck can automatic adjusting suspension, as in the above picture, when the truck bed door is open the it automatically lowers the suspension so that the user can easily do loading and unloading stuff.
anyway I was amazed with this brilliant truck, on day I need to buy one of those :P
@root man ok try karala balanm
thanks
@root dan mehama hithaako. dan oya adminta contact form en ena email eka gmail ekata genagana less scure app off akra kyiamu, eth wocommerce cod wage damama eka confirmation mail eka yane client ta ne. ethaktoa ekath oya widiahtama yan natham :(
@root bro ethakota client mail yadith ohoma karan wenwa ne,
ssl nemida case eka
@root wp form eka install karala mage gmail ekath dela wp mail smtp ekath isntall karal setup kara , eth wada na, man danta infinty free eka demo site ekak test akrane, ssl nathi nisada dan nane gmail ene nathe
@root ethakota smtp server wenama hadana one na nedha? ssl thibanm hari ne cloudflare dala
guys mata danagana one wocommerce wala cash on dilivery dama widhata site eka payment haduwa kyiamuko, ethakota customer kenek orderyak dapuhama orders kiyala enwane dashboard ekata, ethanin confrim karama customer ta order eka confrim kyiala email ekak yanwda? natham ehama hadagana kohmda help
Intresting, try to make crazy this out of it :p
@cody actually i was searching for tutorials on jasper reports but could not found a correct tutorial,
My requirment is to print a bill when a button is pressed, when press the button the bill number will be get to a string and get the details and pass it to jasper and print a bill
@cody i am not the one who messaged but thanks, i will check the link