i found error in the following code.... [CODE]import java.sql.*; import java.util.*; class search { public static void main(String args[]) throws Exception { Connection con=null; ResultSet rs=null; Statement st=null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:oracle","user","vinay"); String s="select *from student where roll=?"; st=con.prepareStatement(s); rs=st.executeQuery(); Scanner inp=new Scanner(System.in); System.out.println("Enter roll to search"); int r=inp.nextInt(); st.setInt(1,r); while (rs.next()) … | |
i have the coding as below given... and i getting error [CODE]TimeSpan date1 = TimeSpan.Parse(TextBox1.Text); TimeSpan date2 = TimeSpan.Parse(TextBox2.Text); TimeSpan ts = date1 - date2; Textbox3.Text=ts;[/CODE] Textbox1 show the current date, Textbox2 show the previous date, and Textbox3 show the difference of textbox1 and textbox2 as the above given code.. … | |
how i can show only current date excluding time in any textbox... and how i found the difference of the date in asp.net | |
it is highly recommended........that tell me exact difference between storedprocedure and trigger | |
what code i will use in asp.net to insert,update,delete & select data into oracle 10g.. | |
Re:
I am creating project for mlm company they want to tree of the members thes have anthe sub tree of that members so anybody have idea so please help me as soon as possible thanks in advance work will be appriaciated | |
manual coding of login and logout in asp.net with c#, after that every click shows the login page...without the user login them........! | |
|
Joined
Last Seen
0 Reputation Points
0 Endorsements
Ranked #13.1K
~2K People Reached
Favorite Forums