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

Is this solved or not? If it is solved why didn't you stated so or perhaps provided solution?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.