【问题标题】:Is it possible to get the values from a database from three different rows for the same column using c#?是否可以使用 c# 从同一列的三个不同行中获取数据库中的值?
【发布时间】:2022-06-15 04:54:07
【问题描述】:

我需要使用 c# 从数据库的同一列但不同行的同一表中获取值。我编写了正确的 cmd 来选择它们,但是当我使用类 MySqlDataReader 使用 GetInt32() 方法读取它们时,我只得到第一行中的值。

有人知道我如何从三行中获取值吗?

看照片...

【问题讨论】:

标签: c# mysql phpmyadmin


猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-06-14
  • 1970-01-01
  • 2012-08-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多