Use Convert.toInt32(txtPrice.Text). This is assuming VB.NET. Judging by the name "txtPrice", you really don't want an Integer but a Decimal.
確定! 回上一頁