即時通訊嘗試從數據庫接收一個整數值(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;
}
你想自動完成文本框還是什麼? – Anand