Re: AddWithValue MySqlType.Decimal
Posted by:
Oliver H
Date: November 05, 2021 01:31AM
Hi,
Deine Paramaterübergabe "AddWithValue" ist falsch.
Als 2. Paramater wird der anzubindende Wert erwartet, nicht der Datentyp.
Verwende lieber paramaters.Add anstatt parameters.AddWithValue
cmd.Parameters.Add("@pLandID", MySqlDbType.Decimal).Value = Convert.ToDecimal(DropDownLand.SelectedItem.Value)
Subject
Views
Written By
Posted
674
October 18, 2021 07:55AM
Re: AddWithValue MySqlType.Decimal
304
November 05, 2021 01:31AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.