Byte Array as Source to SpreadSheet

3 posts, 0 answers
  1. Ishita
    Ishita avatar
    30 posts
    Member since:
    Nov 2013

    Posted 01 May 2014 Link to this post

    Hi, 
          I have Byte Array stored in my Database, I want to use it as a source to spreadsheet control. Is there any way to achieve it ?
  2. Ishita
    Ishita avatar
    30 posts
    Member since:
    Nov 2013

    Posted 01 May 2014 Link to this post

    Well, I tried, 
    I can use Memorystream

    Here is the code : 
     using( MemoryStream ms = new MemoryStream(FileData))
                    {
                            this.radSpreadsheet.Workbook = WorkbookFormatProvidersManager.Import(FileExtension,ms);
                    }
  3. DevCraft banner
  4. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 06 May 2014 Link to this post

    Hi Ishita,

    Thank you for writing.

    I am glad you found a solution on your own. You will be able to find information about spreadsheet's format providers along with code snippets under the Import/Export section in our online help.

    Feel free to write back if you have further queries.

    Regards,
    Boryana
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top