CS0029: 无法将类型“string”隐式转换为“double”

日期:2009-11-12 12:03:11 人气:2

CS0029: 无法将类型“string”隐式转换为“double”

TPur.Price = txtPrice.Text; 这一行错了吧,强制转换成double就行了 Convert.todouble(txtPrice.Text)
    A+
热门评论