Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

Unable to cast object of type 'System.Int32' to type 'System.Data.DataRowView'

$
0
0
Under ComboBox1_SelectedIndexChanged, I encounter this error message

Quote:

Unable to cast object of type 'System.Int32' to type 'System.Data.DataRowView'.
with this code
Code:

Messagebox.Show(ComboBox1.SelectedValue, DataRowView)("ID"))

Viewing all articles
Browse latest Browse all 27189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>