Hi all,
I am writing a program in java that uses jdbc to connect to a postgres DB. Everything works fine, there is only that problem that i hope you can help. I have a table
Create table test(
a real,
b int)
Then i use this table in my program to insert some values of type float. The problem...
Yes, after some hours searching the web, i decided to create my own case study for a dvd rental store. It took me a while, but it is as simple as they can handle right now.
I was thinking of a school databse, but gave them an example like that few weeks back, so it wouldnt be a great idea...
Hi all.
I am teaching a class of high school graduates their first database course, using Access. We have talked about everything and they seem to understand the procedure of creating a simple db, but i think that they need something more.
I was thinking that it would be a great idea to give...
Hey Stefan! take it easy m8! I dont know if u got upset with me or with Dian, but i want to use things that i understand rather than things i just copied.
and since this worked i dont see a reason not to use it.
Thanks everybody. with ur hints i figured out an other way to do it. dont know if it is the correct way to go, but it works.
I just close the statement and reopen it with a second query.
That way i have to sets, each with just the information i want and not all the fields
...empty result set.
Then i tried to use a single result set, but i cant distinguish the fields that i want.
rs = statement.executeQuery("select * from A where e like '"+t+"' or e like '"+m+"'");
rs.next();
HD = rs.getString("a");
HW = rs.getString("b")...
Hi all,
I have an assignment to do for college that we have to simulate some DOS commands in C/C++.
I know that there are some file operation commands in C, like Fopen, but i cant find anything for directories.
Is there any way that i can "read" the files of a folder/directory and print them on...
Hi all,
I have a small problem that i just cant understand!
I have created an ArrayList <String> and want to pass it to an other method. So i have this
ArrayList<String> name = new ArrayList<String>();
.....
results(jComboBox1.getSelectedIndex(),ArrayList() name);
and then i have the result...
Hi all,
I am quite new to OO base, even though i have used Access at the past and have done some SQL.
I am trying to create a Form that would have a combobox choosing a name from my table.
then i want to present the record for that name.
I have added the combo box and linked it to the table. I...
Hi all,
I am quite new to flash, and i think that i am trying something above my knowledge.
I want to create a flash clip that will contain a picture. and then i would like to make that picture a variable. in such a way that i could load a different picture every time.
For example, lets say...
Wow! information overflow!
first thing first.
jpadie, php was not installed on my pc, I will have to do that.
vacunita, I was trying to open the file from the open menu, but since there was no php running, i suppose that it wouldnt make a diference.
sen5241b, I havent heard of lamp b4, but i...
That is some good news!
I did create that file, but when i try to open it with firefox, i get the download window, and i cant open the file.
Actually, is there any program that would help me write php, having graphical items ready to use for example, or i have to do everything by text?
Hi all,
most likely this is been asked before, but i am not sure how to search for this on the forum.
I am completely new to php, but i would like to start and learn some things, in case i need it. I have some free time at my hands at the moment:)
anyhow, i searched the web, and the only think...
I am not sure what you are talking about. I just create a new form and try to learn something out of it.
I figured that out but i have a problem writing a string from a text box to the file. I can write a string variable, but it seems that i have a problem with text boxes.
A more important...
Hi all,
I am quite new to visual programming, and i am trying to read a text file and display the contexts to a label or text box.
I know the commands in C++ , for example
inFile.open( “in.txt” );
while(!inFile.eof())
inFile.getline(line,10);
but how about a textBox?
any ideas?
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.