我试图从 DB 接收一个整数值(vehicle_number)到一个文本框中,自动填充框......我该怎么做?请
using (OdbcConnection conexao = new OdbcConnection(con))
{
OdbcCommand commandResgVei = new OdbcCommand(textoResgataVeiculo, conexao);
conexao.Open();
OdbcDataReader result = commandResgVei.ExecuteReader();
resultado.Read();
vehicle_number.Text = ?????????????????????????? // how?
name.Text = result["name"] as string;
}