2
Answers

OpenXML Excel program error

A Repasky

A Repasky

13y
3.7k
1
I am getting the following error when I try to open the file.  I just started testing this and I do not know what to do.  So the code is very preliminary.  The code for the class is attached.  I only have about a year of C# experience and have not used OpenXML before and the lead programmer is hard to work for.

I want to be able to send a table (or change it to a list or class or something) to this class to make a xlsx spreadsheet.  We want to eliminate the need for Excel.  This is for health care field. 

Thanks for any help I can get on this.

Arep

Replaced Part: /xl/worksheets/sheet.xml part with XML error.  A document must contain exactly one root element. Line 1, column 0.

Attachment: createexcelxml.zip

Answers (2)
0
Raju Fodse

Raju Fodse

NA 34 880 7y
Thanks Sir for Reply; but while inspect the page in chrome I got this
 
xhr.send( ( options.hasContent && options.data ) || null ); 
 
in jquery. What is this mean?
0
Raja T

Raja T

NA 7.4k 6k 7y
Hello Raju, Can please refer below links 
 
  1. http://www.c-sharpcorner.com/blogs/filling-dropdown-list-html-select-list-dynamically-using-asp-net-mvc-and-jquery-ajax
  2. http://highoncoding.com/Articles/770_Implementing_Dynamic_DropDownList_in_ASP_NET_MVC_3_Framework.aspx 
  3. https://stackoverflow.com/questions/27782756/dynamic-dropdown-list-in-mvc