Question Help in Keeping Login ID and Other Fixed Parameters

Sumith Asanka

New member
Joined
Nov 12, 2013
Messages
2
Programming Experience
Beginner
Hi Guys

I am New to Visual studio and using visual studio 2010 in C#, I need to keep a record which user has logged to the system in which location and i want them to be used in everywhere in my windows application when i need ,What is the best way to keep those record without using a database ?

thanks
regards
sumith asanka
 

Sumith Asanka

New member
Joined
Nov 12, 2013
Messages
2
Programming Experience
Beginner
Why would you not want to use a database for a task that is entirely suited to a database?

Hi

I understand that is the best way, but I have a small Problem right now, i have already have vb6 and C# program with the same database ,vb6 program is already running so i don't want to change the database right now,i want the C# program to be compatible with the existing database which is running

thanks
regards
sumith
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
3,219
Location
Sydney, Australia
Programming Experience
10+
So use a second database for this new data. There's no law that says that an application can only connect to one database. You need another data source and the data is completely appropriate for storing in a database so store it in a database.
 
Top Bottom