TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ankita Ankita
NA
11
28.1k
unable to cast object of type system.string to type system.data.datarowview
Mar 6 2012 2:24 AM
I m getting this error. Firstly i have bind my list box with a cell in datagrid. when the row is selected the value of cell is is first assigned to a string variable and the that variable is then split near spaces stored in string array and that array is then assigned to list box.
After dat to assign multiple selected items to a label I used foreach loop as
foreach(
datarowview
row in listbox.selecteditems)
near datarowview m getting
unable to cast object of type system.string to type system.data.datarowview
exception.
Reply
Answers (
3
)
Need consultation and coaching on asp.net!
deploy my c# exe file in others desktop