I am trying to read bytes of image from the XML file but I took that error at the second line.
XmlNodeList list = docc.GetElementsByTagName("Meaning");
byte[] imageBytes = Convert.FromBase64String(list[index].Attributes["Meaning"].Value);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Before to set a value in
, verify
is not null, and
exist and is not null too!
You want to create BreakPoint in your code for debugging and to see your problem, and var content.
And please, for other question you ask, specify more details ( what is exact error, how you know error is in second line, etc…)