0
mscon.Open();
mscom = new MySqlCommand("SELECT * FROM cbin_tbl WHERE cb_id=(SELECT MAX(cb_id) FROM cbin_tbl)", mscon);
MySqlDataReader msmdr1 = mscom.ExecuteReader();
while (msmdr1.Read())
{
barcode = msmdr.GetString("cb_id");
}
mscon.Close();
IM一個初學者在這裏沒有當前查詢和幫助我在此MYSQL語法:d THANKS在數據讀取器MYSQL
非常感謝您的先生。還有我看到的另一個錯誤是我的MySqlDataReader msmdr1 = mscom.ExecuteReader(); AND MY barcode = msmdr.GetString(「cb_id」); –