感謝張睪Q_Q
const string sql = @"UPDATE Ap_Parts SET Name = @Name, GroupSku = @GroupSku, MainSkuID = @MainSkuID WHERE PartID = @PartID";
bool s = SqlExecuteUpdate(sql, new[] {
new SqlParameter("Name", name),
new SqlParameter("GroupSku", groupSku),
new SqlParameter("MainSkuID", mainSkuID),
new SqlParameter("PartID", partID)
});
沒有留言:
發佈留言