Connect to Oracle
-
Hello All, I want to connect to my oracle DB from my login control ,how can I do this??? Hello All, I want to connect to my oracle DB from my login control ,how can I do this??? Nishu
-
Hello All, I want to connect to my oracle DB from my login control ,how can I do this??? Hello All, I want to connect to my oracle DB from my login control ,how can I do this??? Nishu
Your UI layer shouldn't connect to any DB, you should have a business logic layer implimenting the action, and a data layer talking to the database. Connecting to Oracle is easy, google has tons of example code and info.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Hello All, I want to connect to my oracle DB from my login control ,how can I do this??? Hello All, I want to connect to my oracle DB from my login control ,how can I do this??? Nishu
Hi, Connect to Oracle Database using ADODB. first you need to add adodb in reference and then: ADODB.Connection objConnection = new ADODB.Connection(); if (objConnection.State == 1) objConnection.Close(); // If you are using network terminal // --------------------------------- objConnection.ConnectionString = "SERVER=SIDNAME; UID=USERNAME; PWD=PASSWORD; " Driver={Microsoft ODBC for Oracle};" // If you are working on Server // ---------------------------- objConnection.ConnectionString = "UID=USERNAME; PWD=PASSWORD; " Driver={Microsoft ODBC for Oracle};" objConnection.Open("", "", "", -1); Riaz :) -- modified at 2:15 Wednesday 24th January, 2007
-
Your UI layer shouldn't connect to any DB, you should have a business logic layer implimenting the action, and a data layer talking to the database. Connecting to Oracle is easy, google has tons of example code and info.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
I want to connect my login control of ASP.NET 2.0 to oracle database...by default it is connect to the default sql server.....I wanto use my oracle DB for validation .... nishu
-
Hi, Connect to Oracle Database using ADODB. first you need to add adodb in reference and then: ADODB.Connection objConnection = new ADODB.Connection(); if (objConnection.State == 1) objConnection.Close(); // If you are using network terminal // --------------------------------- objConnection.ConnectionString = "SERVER=SIDNAME; UID=USERNAME; PWD=PASSWORD; " Driver={Microsoft ODBC for Oracle};" // If you are working on Server // ---------------------------- objConnection.ConnectionString = "UID=USERNAME; PWD=PASSWORD; " Driver={Microsoft ODBC for Oracle};" objConnection.Open("", "", "", -1); Riaz :) -- modified at 2:15 Wednesday 24th January, 2007
Is this for login contral????:confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused: nishu