public string InsertImage(byte[] byteStream) { string bb = System.Text.Encoding.ASCII.GetString(byteStream); byte[] encodedDataAsBytes= System.Convert.FromBase64String(bb); bool result = SiteImageDao.InsertImage(encodedDataAsBytes); var xResult = new XElement("Result", result); return xResult.ToString(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)