我曾经ExecuteReader
为这样的所有字段选择所有(SELECT *)
string query = "SELECT* FROM tb_patient_information ";
if (this.OpenConnection() == true)
{ //Create Command
MySqlCommand cmd = new MySqlCommand(query, connection);
//Create a data reader and Execute the command
MySqlDataReader dataReader = cmd.ExecuteReader();
while (dataReader.Read())
{ ... }
但我只想在特定的列和单元格中选择,如红色方块中.. 像这张图片