How can I modify this code for writing user data to a text file so that it writes to a database.
private
{
wr.WriteLine(username +
}
arrbyte = hash.ComputeHash(System.Text.
And this code to read the data:
usernames[i] = lineSplit[0];
passwords[i] = lineSplit[1];
frm.Show();
I'm really new to programming, and I can understand this code. If modifying this code is just not practical, could someone show me a simple (very simple) example of connecting to a database and storing data in it.