What's new

Help User Input c# windows form

shion_

Eternal Poster
Established
Joined
Apr 28, 2016
Posts
1,171
Reaction
380
Points
462
Help po paano masesave yung na input dito at magagamit panglogin without database

pci.png
 

Attachments

hmm, siguro po write to file nalang tas if magllogin ka po iread file and search keyword tas compare if existing ang user input sa file
 
pwede ang write to file pero not recommended. bakit? if marami ng users nakasave babagal siya. thats why merong database
 
hmm, siguro po write to file nalang tas if magllogin ka po iread file and search keyword tas compare if existing ang user input sa file
C#:
    public List<User> Users { get; set; } = new List<User>();
        public frm_login()
        {
            InitializeComponent();
            Users.Add(new User() { Firstname = "esa", Lastname = "jose", Username = "admin", Password = "admin" });
            Users.Add(new User() { Firstname = "kim", Lastname = "domingo", Username = "admin1", Password = "admin1" });



yung ganito po ba?
 

Similar threads

Back
Top