-2
adp3 =新的SqlDataAdapter(「SELECT patients.p_name,doctor.doc_name,appointmentments.ap_date FROM patients INNER JOIN appointment ON ON patients。 p_id = appointmentments.p_id INNER doctor ON appointments..doc_id = doctor.doc_id WHERE(CONVERT(char(8),appointmentments.ap_date,112)> = CONVERT(char(8),GETDATE(),112))和doctor.doc_id =「+ did,con) adp3.fill(ds3)從字符串「SELECT patients.p_name,doctor.do」轉換爲輸入「Double」無效
問題是什麼?你能至少嘗試格式化你的代碼嗎? – svick 2012-02-24 01:18:11