1
Answer

casting from DataRowView To string

Photo of dhilipan nair

dhilipan nair

15y
8k
1

hi,
i am working on a project(windows form) using c#,i have used a data source for my combobox by connecting it to a database.
And in my form,when i try to see the item selected from the combo box  thru msgbox,it is displayed as System.DataRowView.
and i tried to cast it thru Convert.ToString(),but not successful.
i even tried by creating object for DataRowView and added the items from combobox to this DataRowView object and thentried to convert into string by Convert.ToString(),but yet unsuccessful.
kindly help me!!!!!!!!!!

Answers (1)

Next Recommended Forum