This is a migrated thread and some comments may be shown as answers.

Byte Array as Source to SpreadSheet

2 Answers 669 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Ishita
Top achievements
Rank 1
Ishita asked on 01 May 2014, 09:33 AM
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 Answers, 1 is accepted

Sort by
0
Ishita
Top achievements
Rank 1
answered on 01 May 2014, 11:36 AM
Well, I tried, 
I can use Memorystream

Here is the code : 
 using( MemoryStream ms = new MemoryStream(FileData))
                {
                        this.radSpreadsheet.Workbook = WorkbookFormatProvidersManager.Import(FileExtension,ms);
                }
0
Boryana
Telerik team
answered on 06 May 2014, 07:02 AM
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.
 
Tags
Spreadsheet
Asked by
Ishita
Top achievements
Rank 1
Answers by
Ishita
Top achievements
Rank 1
Boryana
Telerik team
Share this question
or