How can I convert DataRowView type to integer type?
Asked
Active
Viewed 1,355 times
0
-
1Your question does not appear to make sense. Can you describe why you think you need to do this? – Michael Petrotta Jan 25 '11 at 06:07
1 Answers
0
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()

Praveen k. Agrawal
- 439
- 1
- 5
- 15