Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
AmazonMetaData Unable to cast object of type System.String
Manoj Maharana
8y
189
1
Reply
Unable to cast object of type 'System.String' to type 'System.Object[]'
here is the code:
string
str = MFI.Helpers.Helpers.AmazonS3ImageURLGet(userType, id, pictureFile);
AmazonMetaData amazonMetaData;
if
(MFI.Helpers.Helpers.processingImages.GetObject(str) !=
null
)
{
//amazonMetaData = (AmazonMetaData)((object[])MFI.Helpers.Helpers.processingImages.GetObject(str))[0];
amazonMetaData = (AmazonMetaData)((
object
[])MFI.Helpers.Helpers.processingImages.GetObject(str))[0];
}
error in amazonMetaData = (AmazonMetaData)((object[])MFI.Helpers.Helpers.processingImages.GetObject(str))[0];
how to solve??
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
print datagridview content ,date and name in A4 paper in c#
link in MVC which is in folder