User Profile

Collapse

Profile Sidebar

Collapse
pradeep84
pradeep84
Last Activity: Feb 1 '08, 06:32 AM
Joined: Sep 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pradeep84
    started a topic Problem with date
    in Java

    Problem with date

    Hi .. friends.. in the below program

    Code:
     public void actionPerformed(ActionEvent ae)
    {
     int flag=0;
     s1=(from.getText());
     s2=(to.getText());
     if(ae.getSource()==view)
    {
        
         
    try 
    {
       
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          con=DriverManager.getConnection("jdbc:odbc:prism");
          stmt=con.createStatement();
    ...
    See more | Go to post

  • pradeep84
    started a topic how to add data to excel sheet
    in Java

    how to add data to excel sheet

    Hi...... everyone......

    i hav wrote the program inorder to add data in the database using frontend as java, MSaccess as backend, now i hav add data to the MS excel sheet with frontend as java is it possible....... ... if so explain me briefly.......


    Regards
    Pradeep
    See more | Go to post

  • pradeep84
    replied to problem in the update
    in Java
    Thank you,.. i ll check it out....


    kind regards,
    Pradeep
    See more | Go to post

    Leave a comment:


  • pradeep84
    replied to problem in the update
    in Java
    This was the error message......

    java.sql.SQLExc eption: [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.


    Regards
    Pradeep
    See more | Go to post

    Leave a comment:


  • pradeep84
    replied to problem in the update
    in Java
    i think thats not a problem... when i gave a single column to update.. it gets updated.. when i tried to update two columns... its showed an error message..

    Thanks

    Regards
    Pradeep
    See more | Go to post

    Leave a comment:


  • pradeep84
    started a topic problem in the update
    in Java

    problem in the update

    Hi to all... in the following code... i hav problem in the update.. it is updating upto qty and it is not updating value.. it shows error like syntax error in the update statement.... help me to solve this problem

    Regards
    Pradeep


    Code:
     try
      {
       String query = "insert into Gis values('"+s1+"','"+s2+"','"+s3+"','"+s4+"','"+s5+"','"+s6+"','"+s7+"','"+s8+"','"+s10+"')";
    ...
    See more | Go to post

  • pradeep84
    replied to Problem in updating the data
    in Java
    Now i added
    Code:
    con.commit();
    but still i didn't get the output...

    regards
    pradeep
    See more | Go to post

    Leave a comment:


  • pradeep84
    started a topic Problem in updating the data
    in Java

    Problem in updating the data

    Hi .. to all......
    i hav created the following codes in order to update the data... i don't know wats the problem.... plz help me to resolve my problem........ .

    Regards
    Pradeep

    Code:
     if(ae.getSource()==mod)
    {
         
    try 
    {
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          con=DriverManager.getConnection("jdbc:odbc:prism");
    ...
    See more | Go to post

  • pradeep84
    started a topic how to get date format
    in Java

    how to get date format

    Hi......... to all.......

    i hav created textfield in the applet window....... i hav to get the input from the user in the format of dd/mm/yy....... kindly resolve my problem..

    Regards
    Pradeep
    See more | Go to post

  • pradeep84
    replied to JTable...............
    in Java
    Sorry sir.. yesterday due to network problem.. i can't able to continue the discussion..... . i hav to insert data into the table....
    consider if the database contains 3 rows.. i hav to insert all the three rows...
    can u say how to get all the rows.. from the database..

    Code:
    import java.io.*;
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    import sun.jdbc.odbc.*;   
    import
    ...
    See more | Go to post

    Leave a comment:


  • pradeep84
    replied to JTable...............
    in Java
    Thanks..

    can u explain with a small example .....

    Regards
    Pradeep...
    See more | Go to post

    Leave a comment:


  • pradeep84
    started a topic JTable...............
    in Java

    JTable...............

    Hi........ to all

    I hav created the table in the applet window using JTable... i hav to store the retrived data from database in the table..consider if the table contains 3rows i hav insert all the 3 rows ..... Is it possible... if so.. can u explain me..how.....


    Regards
    Pradeep
    See more | Go to post

  • pradeep84
    replied to Problem with the database - regarding
    in Java
    Thanks... for your valuable suggestions...

    i got the output.....


    Regards
    Pradeep...
    See more | Go to post

    Leave a comment:


  • pradeep84
    started a topic Problem with the database - regarding
    in Java

    Problem with the database - regarding

    hi..to all........
    i used the following code... in order to check the input with the database...
    but i had a error java.sql.SQLExc eption: No data found
    i checked the database name... and database connection... i dont know wats wrong ..... plz help me to resolve the problem......
    Code:
    try 
    {
         
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          con=DriverManager.getConnection("jdbc:odbc:prism");
    ...
    See more | Go to post

  • pradeep84
    replied to how to display the string in the textfields
    in Java
    Thank you... for your valuable suggestions.... .




    Regards
    Pradeep
    See more | Go to post

    Leave a comment:


  • pradeep84
    started a topic how to display the string in the textfields
    in Java

    how to display the string in the textfields

    Hi.. to all...
    in the following program i hav retrived data from the database and stored in the string s2,s3... now i hav display the following string in the textfields... i dont know how.. to do this... plz help me.........

    Regards
    pradeep

    Code:
    import java.awt.*;
    import java.sql.*;
    import java.awt.event.*;
    import sun.jdbc.odbc.*;
    import java.io.*;
    public class Viewcd
    ...
    See more | Go to post

  • pradeep84
    replied to Buttons& there actions... Regarding
    in Java
    Thanks......... Thanks a lot.... ....
    i got the solution.....

    Regards
    Pradeep
    See more | Go to post

    Leave a comment:


  • pradeep84
    replied to Buttons& there actions... Regarding
    in Java
    Even now i didnt get.. This is my entire code..... plz help me to resolve....the problem

    Thanks......

    Regards
    Pradeep


    Code:
    import java.io.*;
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    import sun.jdbc.odbc.*;   
    
     public class Customerdetails extends Frame implements ActionListener
    {
       
         TextField ccod,cname,add,phno,conp,email,fax;
    ...
    See more | Go to post

    Leave a comment:


  • pradeep84
    replied to Buttons& there actions... Regarding
    in Java
    Now i changed like this
    Code:
    Button save= new Button("Save");
        Button exit= new Button("Exit");
        save.addActionListener(this);
        exit.addActionListener(this); 
       add(save);
       add(exit);
    even i had the same problem ... wheather it is right....


    regards
    pradeep...
    See more | Go to post

    Leave a comment:


  • pradeep84
    replied to Buttons& there actions... Regarding
    in Java
    ya .. i checked i didnt get any expections.... now i delected the connection which is on the line 80..... eventhough i had the same problem


    regards
    pradeep...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...