I´m guessing that it´s you SetValue that gives you the trubble...
Try:
items[i] = your data row value...
Edit: maybe that not it btw... :) I believe that you may be getting an exception... and then you try to return the exception message (that is a string...) and then you get your error.
codeplanner
Member
519 Points
97 Posts
Re: Cannot implicitly convert type 'string' to 'string[]'
Dec 27, 2011 09:05 AM|LINK
Hello.
I´m guessing that it´s you SetValue that gives you the trubble...
Try:
Edit: maybe that not it btw... :) I believe that you may be getting an exception... and then you try to return the exception message (that is a string...) and then you get your error.
Regards
Uffe
Uffe