Link to home
Create AccountLog in
Avatar of rmmarsh
rmmarshFlag for United States of America

asked on

I'm having addressabiltiy problems

I have this code and for the life of me, I can' get the variable "conn" to be globally visible.

How do I do this?
public class SQLite 
	{
		public static SqliteConnection conn;
		private static string db;
		private static string dbPath;
		public static int databaseKey = 0;
		
		public SQLite ()  //  constructor
		{
	        SqliteConnection connection = GetConnection ();
	    }

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of rmmarsh

ASKER

Thanks, Fernando... Happy New Year to you and your family!
Hi rmmarsh;

Not a problem, glad to be of help.

May you have a happy an safe New Years to you and yours.

Fernando