Shefali Lahariya

Shefali Lahariya

  • NA
  • 257
  • 155.7k

System.Drawing - Parameter is not valid

Dec 22 2017 12:39 AM
using code:
byte[] toBytes = Encoding.ASCII.GetBytes(objgroupconfereneResponse.groups[i].grpIcon.ToString());
if (toBytes != null)
{
MemoryStream ms = new MemoryStream(toBytes);
ms.Position = 0;
picboxserver.Image = Image.FromStream(ms);
}
 
please suggest me how to resolve it. 
 

Answers (7)