This article is about using Oracle database in windows form using a connection string.
Today, I need to make aN SMS form to get data form local server and send messages to clients using a mobile company API. I decided to share my knowledge.
I just created three objects for all the three classes: con for OracleConnection or cmd for OracleCommand and datareader for OracleDataReader. I initialized first two classes using new but did not initialized the third one as you can see in the attached code. Now you may see a red squiggling line below the classes it means you did not included the reference of System.Data.OracleClient.dll. In my case I found it here: C:\Windows\Microsoft.NET\Framework\v2.0.50727 Step 2 Now you need to tell object con about the connection string and the connection. The following code shows when the form will open, it will connect with database and then will open the connection.
Node Js and Angular CheatSheet