What form does BillNo take in your database? Not certain, but what you are doing is comparing it for equality to a String, so you probably won't get it to work if you are storing an INT.
Ifraz Imanudeen wrote:. . . ("SELECT * FROM TRX WHERE BillNo = '+BillNbr.getText()+'") . . . .
I don't think you can; you can have several arrays, but a 2D array usually has to be “rectangular” and can't cope with lines of varying lengths.
David Simic wrote:. . . How can i add this pattern into array ??
People do banking, travel, use mains gas and electricity 24‑7. If any of those things goes down, it could result in loss of millions, accidents in travel, failure of power and water, and some of those things can kill people by the hundred. So your job is important. I agree that night shifts are harmful; that is well‑known already.
Vishal Hegde wrote:. . . . we are not doctors or nurses who attend emergency operations for whom night shift becomes mandatory to save a person...
In that case, you probably have financial stability already, so sorry for misinterpreting what you said at first.
I don't have any loans...just my savings is not that much . . .