All Questions

2
answers

Oracle SQL SubConsulta

I'm doing a table query / modification exercise. I have two tables: CREATE TABLE CURSOS ( Codigo NUMBER, Nombre VARCHAR2(20), Cod_Profe NUMBER, Max_Alumn NUMBER, Fecha_Inic DATE, Fecha_Fin DATE, Num_Horas NUMBER, CONSTRAINT...
asked on 24.04.2017 / 09:47
2
answers

WebControl.Image to Itextsharp.Image

I have the following code that converts a blob from a database to an image url ( WebControls.Image ): OracleCommand cmd2 = new OracleCommand(); cmd2.Connection = conn1; cmd2.CommandText = "select simbo...
asked on 26.04.2017 / 15:08
1
answer

how to create a switch case within a path in DATATABLES?

I'm painting the data brought from the database in datatables , the problem is that I need to validate a data to be able to paint a badge in the GUI , and I look for the way to do with a switch since if I use a if...
asked on 26.04.2017 / 14:21
3
answers

Call variable from one class to another java POO

Good I'm doing a POO project, and I want to get a data from a class Employee, to make a comparison in another class Salary, can this be done? Or should I make the comparison in the main method directly? 'Import javax.swing.JOptionPane; /** *...
asked on 26.04.2017 / 20:44
1
answer

How to compress the contents of a directory in a zip?

Hello everyone. I have asked this question so that you could give me a hand in the obstacle that has been presented to me on my way. My problem My problem is that I want to be able to compress the data or the contents of a folder i...
asked on 12.02.2017 / 19:39
1
answer

How to add rows to table in Android

Good morning guys, I am new to Android, I have consulted many sites and would like to know how to add rows or records to a table on Android, I appreciate the collaboration. Layout Code: <TableLayout xmlns:android="http://schemas.android....
asked on 09.02.2017 / 12:52
3
answers

Error using count in a subquery

I have a query where I use 1 subquery to get data from several tables. And as a result, it returns a total of 2947 records. --CONSULTA INICIAL SELECT dniEgre, (SELECT TOP 1 CASE WHEN numeRespu = 1 THEN 'SI' ELSE 'NO' END FROM OCL.tblDet...
asked on 10.02.2017 / 04:24
3
answers

Java: error when calling JPanel from JFrame

I have a class that inherits from JFrame and the view is shown, in the view I have a button where I call another class that inherits from JPanel but the new view does not open, I hope and you can help me.    JFrame import javax.swing.*; im...
asked on 06.02.2017 / 20:42
1
answer

Convert image to base64 android

My code what it does is take an image from the gallery and take its route in string and waiting for it in the database awaits the route of the image and displays it. I want to be able to take a photo from the camera and also choose fro...
asked on 27.04.2017 / 04:36
1
answer

Enter names in java [duplicate]

I'm doing a program that captures names and grades, you can enter how many grades you want but you should not have scored more than 10. However my program is not letting you enter the name of the student. What is the error? import java.io.*;...
asked on 09.02.2017 / 14:38