I would really appreciate any help with this. I wrote a simple VB.NET App that creates a table in Oracle and does some basic things like: display the "select * from table" into my data grid and also provides a button to drop the table. Everything works fine, but I am forced to hard code the Oracle Username, Password and Datasource, into the application.
For example:
Dim conn As New OracleConnection("Data Source=ORCL;User ID=system;Password=manager")
Can someone give me some advice, as to how get this information from the end user at runtime through text boxes and then somehow pass this information to the code? I've seen a lot of sample code out there, but since I'm a newbie, it's really hard for me to determine what part of the sample code I can use.
I've learned a lot in the past few weeks from this forum, so I'm hoping that someone here can help with this request. I just think my way is so sloppy and I feel like an idiot hard coding something like this and making the user create a special user acct just for this little test app.
Thanks in advance!!
For example:
Dim conn As New OracleConnection("Data Source=ORCL;User ID=system;Password=manager")
Can someone give me some advice, as to how get this information from the end user at runtime through text boxes and then somehow pass this information to the code? I've seen a lot of sample code out there, but since I'm a newbie, it's really hard for me to determine what part of the sample code I can use.
I've learned a lot in the past few weeks from this forum, so I'm hoping that someone here can help with this request. I just think my way is so sloppy and I feel like an idiot hard coding something like this and making the user create a special user acct just for this little test app.
Thanks in advance!!