ok so this is what i have so far
class Program
{
static void Main(string[] args)
{
string MyConString = "SERVER=localhost;" + "DATABASE=user information;" + "UID=root;" + "PASSWORD=9blackheart;";
MySqlConnection connection = new MySqlConnection(MyConString);
MySqlCommand command = connection.CreateCommand(); MySqlDataReader Reader;
command.CommandText = "select * from users";
connection.Open(); Reader = command.ExecuteReader();
while (Reader.Read()) {
string thisrow = "";
for (int i = 0; i < Reader.FieldCount; i++)
thisrow += Reader.GetValue(i).ToString() + ","; System.Console.WriteLine(thisrow);}
connection.Close();
and it works perfectly but i want it to read for a username and password for verification is there anyway i can do this?