Answers for "how to get all values in a table mysql in c#"

SQL
0

how to get all values in a table mysql in c#

this.data_reader = command.ExecuteReader();
        if (this.data_reader.HasRows) {
            this.count = data_reader.FieldCount;
            while (this.data_reader.Read());           
            {
                for (var i = 0; i < count; i++)
                {
                    Debug.WriteLine(this.data_reader.GetValue(i));
                }
            }
           this.data_reader.Close();
        }
Posted by: Guest on November-20-2021

Code answers related to "how to get all values in a table mysql in c#"

Code answers related to "SQL"

Browse Popular Code Answers by Language