Sitemap

Amicuk Programming Answers

Hey...help me out

-0001-11-30   Views:0

Advertisement

hey i am running the following code if(o==b2) fbalance.setVisible(true); fwelcome.setVisible(false); if(o==b8) String stracc=tacc.getText(); String strid=tid.getText(); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.

hey i am running the following code
if(o==b2)
fbalance.setVisible(true);
fwelcome.setVisible(false);
if(o==b8)
String stracc=tacc.getText();
String strid=tid.getText();
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:data","sa","ferrari123");
PreparedStatement s=con.prepareStatement("select balance from acc_table where acc_no=? and id=?");
s.setString(1,stracc);
s.setString(2,strid);
ResultSet rs=s.executeQuery();
while(rs.next())
tbal.setText(rs.getString("Balance"));
and the following exception occurs, although all the credentials mentioned in the above code are correct with respect to my database file
*java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'acc_table'.*+
{font:#mce_temp_font#}so somebody please...help me out with this....!!!!!{font}
Edited by: 12tvt38520141 on Feb 23, 2010 4:40 PM

The replay answer
Advertisement
12tvt38520141 wrote:
yes there are many default datbases(adventure n adnevture DW)....but i've made a new database in which my table 'acc_table' is present....although few days back there was no such exception....but after my new OS installation....it's givin such exceptions...:(So you messed up the install. Or messed up the code. Or both.
Figure out which and fix it.

Go to See the other 6 answers

Hey, I have $2350-2400 and I want some proper guidance for the macbook pro

Category:DefaultRelease time:2015-10-11Views:130

HEY!!! Guys I will try to make this as easy as possible! First let me tell you I am 15, I love graphics, music and literature and I have no credit card, my iTunes account has no money, I'm using an account that doesn't require credit cards! So (ugh)[More]

Hey I'm a novice on computers, but i've just done a full system restore on my laptop after backing it up on an external hard-drive long story short in the back up process all my itunes converted to mpeg4 files and now i can't get them back into my my libr

Category:DefaultRelease time:2015-10-11Views:130

Hey I'm a novice on computers but i've just done a full system restore on my laptop and put it back to factory spec, obviously i backed up all the data on an external hard-drive but when i have re-installed itunes and gone to import all my old music[More]

Hey iphone an iphone 3g and i only have about 13 apps and the yellow bar on itunes for my phone is way to big i deleted all my photos all my music every thing i ryed restoring ans all it still takes up space for sum reason ?? please someone help me

Category:DefaultRelease time:2015-10-11Views:130

hey iphone an iphone 3g and i only have about 13 apps and the yellow bar on itunes for my phone is way to big i deleted all my photos all my music every thing i ryed restoring ans all it still takes up space for sum reason ?? please someone help meIf[More]

Hey Guys, from Germany. I want to connect my iMac 21" with my Tv just for fun. Does anyone know, how it works. With a Hdmi adapter?

Category:DefaultRelease time:2015-10-11Views:130

Hey guys! I want to connect my Imac 21 " with my Tv just for fun. Does anyone know , how it works?Selecting the correct adapter and cable depends on which year model iMac you have and what inputs the TV has? Check the User's Guide that came with your[More]

HT3180 hey my apple tv is not working

Category:DefaultRelease time:2015-10-11Views:130

hey my apple tv is not working I plugged it, and only the apple icon appears and then it says the setting for time and date and then the screen goes blank what do I do to fix it?Hello jhidro1 Welcome to the Apple Support Communities. If you are unabl[More]

Hey my brother just got an ipod touch and i can't get it to connect to itunes what to i do he's really excited HELP!! :)

Category:DefaultRelease time:2015-10-11Views:130

hey my lil brother just got an ipod touch and its saying connect to itunes and its plugged into my computer and im at the itunes website but i can't get it to connect can anyone HELP ME??!! my mom said that she wants his ipod to be connected so that[More]

Hey, im experiencing problems with itunes. i downloaded the recent itunes update yesterday and today i plugged my iphone in and my computer said there was a trojan horse and now itunes wont open. Help please??

Category:DefaultRelease time:2015-10-11Views:130

Hey guys, Im expierencing problems with itunes after the latest update yesterday(1/22) and the problem im having is when i plugged my iphone into my PC today a virus detection came up and said a trojan horse was present. I also cant open itunes at al[More]

Hey when ever i download and install Itunes then i open it says error finding folder please re download and I tried a tons of times and it didn't work. Does anyone know how to fix this?

Category:DefaultRelease time:2015-10-11Views:130

Hey when ever i download and install Itunes then i open it says error finding folder please re download and I tried a tons of times and it didnt work. Does anyone know how to fix this?Hi Beege140, I have an article for you that will help you address[More]

TS3694 hey everyone.. i have a problem with my 3Gs iphone.. i updated to the ios5 and now when i open it says that i have to connect it with the itunes. when i connect it says that has an error 28 something like that.. can anyone help me to fix it?? Regar

Category:DefaultRelease time:2015-10-11Views:130

hey everyone.. i have a problem with my 3Gs iphone.. i updated to the ios5 and now when i open it says that i have to connect it with the itunes. when i connect it says that has an error 28 something like that.. can anyone help me to fix it?? Regards[More]

Hey, I'm trying to install Adobe Flash on my Macbook Air. At a certain point it asks for my password but it doesn't take it. So I cannot continue installment. I have reset my password already. Still the same problem. How can I continue to install when it

Category:DefaultRelease time:2015-10-11Views:130

Hey, I'm trying to install Adobe Flash on my Macbook Air. At a certain point it asks for my password but it doesn't take it. So I cannot continue installment. I have reset my password already. Still the same problem. How can I continue to install whe[More]

Hey guyys .if some 1 from firefox team can help it wud be great......I was using firefox 3.6.3 on Mac OS 10.5.8 and Today I installed firefox 3.0(besides application folder) but not in same application folder like firefox 3.6.3 ...so now i had 2 firefox v

Category:DefaultRelease time:2015-10-11Views:130

hey guyys .if some 1 from firefox team can help it wud be great......I was using firefox 3.6.3 on Mac OS 10.5.8 and Today I installed firefox 3.0(besides application folder) but not in same application folder like firefox 3.6.3 ...so now i had 2 fire[More]

Hot
Hi everyone, Will forms 3.0 and reports 1.5 work with Oracle 8.x. If yes then how is it done. If no then is there a way to convert forms 3.0 and reports 1.5 applications to forms 4.5 and reports 3.0 i.e. from a character mode platform to GUI mode. Th [More]
HI,     Pls any body let me know how to create the pricing procedure for domestic & import. what is the use of the keys step condiiton condition type from   to  manual required statistic   subtotal requirement caltype basetype. how system will work b [More]
I have two requirements First scenario is like this Customer1     1000  2000 Customer2     5000  600 In my query it is showing like this, but I need to add one blank row after each customer. Second No of lines in my report is around 10 million , if I [More]
Hello, I�m trying to run a webapplication but I get an Error 500-message in the browser(IE 5): Package not found in import. It is an webapplication with JSPs and an controlling servlet. Does anyone know how to fix that problem? Using: Windows 2000, T [More]
Hi Folks, We have 7.1 .Done multi-mapping , single source mapped to 5 different stored procedures. The challenge we are facing here is , these stored procedure is not working sequentially . i.,e  for e.g., 2nd Stored Procedure should start only when [More]
Hi Experts, Can the same Program ID be used in 2 different RFC sender channels? I do not want to use the existing RFC sender channel. Please le me know. Thanks SumaHello. I can't understand what are you trying to implement here, but here is the corre [More]
Hello, I really do not know what is wrong in my case: - copy sample function module SAMPLE_PROCESS_00001820 to a new z function module and in a new group; in the function i inserted a code that updates a z table. In se37 the function modifies the tab [More]
Does anyone know how to adjust line spacing or leading for text in DVD Studio Pro?????yeah i've been to the font settings and there's all kinds of stuff for size, color, shadow....but nothing for leading.. That seems like a pretty big element to add. [More]
how do I force a single application to quit?In addition to the others, cmd-opt-esc will open the Force Quit dialog. cmd-opt-shift-esc (hold for three seconds) will force quit the frontmost application. http://support.apple.com/kb/ht1343Read other 4 a [More]
a contact profile picture appears when i login on skype then dissapears within a few seconds.. does that mean he doesn't want me to see his picture or did he hide me from his contacts? if he hid me or remove me from his contacts, can he still read my [More]