0

right now i m working in netbeansIDE with web application i m trying to connect to sql server 2005 database using the preceding coding


Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbcdbc:data");
Statement st=con.createStatement();
st.executeUpdate("insert into audio values(11)");
con.close();
st.close();


now no data are inserted int the audio table what is the solution for this.Its windows authentication i m using in Sql server 2005 pls help me to solve this
Add to Nishanthi's Reputation

2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by peter_budo
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.