タイプの前に「 WHERE 」を付けないと、「タイプ」のエラーが発生します
string sql = "UPDATE Resource SET " + "location='" + location + "'" + "WHERE levelNo='" + levelNo + "'" + "Type='" + type + "'" + " Abr='"+ abr + "'" + " Description='" + description + "'" + " Capacity='" +capacity +"'" + " Detail='" + detail + "'";
しかし、私がそれを置くと、「WHERE」のエラーが発生します
string sql = "UPDATE Resource SET " + "location='" + location + "'" + "WHERE levelNo='" + levelNo + "'" + "**WHERE** Type='" + type + "'" + " Abr='"+ abr + "'" + " Description='" + description + "'" + " Capacity='" +capacity +"'" + " Detail='" + detail + "'";