I uploaded the File using RadUpload Control and store the data in Binary Format Now I got the Binary Data and I need to load the Retrived Binary Data in Respective File Viewer...If (Docx in Word Pdf In Adobe....if Text in text viewer)
Here is the code That I got Binary Data
string json = class.HttpGet("http://localhost/Service/User.svc/ServiceName");
json = Regex.Unescape(json);
dt = (DataTable)JsonConvert.DeserializeObject(json.Trim(new Char[] { ' ', '"', '.' }), typeof(DataTable));
string data=dt.Rows[0]["Document"].ToString();
byte[] Data = Convert.FromBase64String("data");
I got the Data in Byte Array now I need to store the data in Docx or Pdf or....