开发者

How can I convert DataRowView type to integer type?

开发者 https://www.devze.com 2023-02-06 07:48 出处:网络
How c开发者_C百科an I convert DataRowView type to integer type?You cannot convert the actual DataRowView to an integer, but you can convert it\'s value to an Integer as the SelectedItem() value will a

How c开发者_C百科an I convert DataRowView type to integer type?


You cannot convert the actual DataRowView to an integer, but you can convert it's value to an Integer as the SelectedItem() value will always be DataRowView, which cannot be converted. Use the SelectedValue.ToString()

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号