Creating spreadsheets with asp.net - How name them?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • WISEMANOFNARNIA

    Creating spreadsheets with asp.net - How name them?

    I have code in asp.net that is supposed to create a spreadsheet. It
    works for some people, but others complain that the spreadsheet has no
    'sheet1', and instead they are told it has an 'illegal sheet name'.
    So I experimented: I thought the XML for the spreadsheet could start
    with a tag like <sheet name='MyFirstSh eet'>. But putting that tag in
    doesn't make a difference. In fact, I don't even know if the tag
    exists in some kind of Excel xml language.
    Does anyone have an idea of how I would specify a name for a sheet?
    (technical note - I am using asp.net's Response.Write and passing it
    xml)
    Thanks,
    Marvin
  • Alexey Smirnov

    #2
    Re: Creating spreadsheets with asp.net - How name them?

    On Oct 16, 5:32 pm, WISEMANOFNARNIA <COHENMAR...@ly cos.comwrote:
    I have code in asp.net that is supposed to create a spreadsheet.  It
    works for some people, but others complain that the spreadsheet has no
    'sheet1', and instead they are told it has an 'illegal sheet name'.
    So I experimented: I thought the XML for the spreadsheet could start
    with a tag like <sheet name='MyFirstSh eet'>.  But putting that tag in
    doesn't make a difference.  In fact, I don't even know if the tag
    exists in some kind of Excel xml language.
    Does anyone have an idea of how I would specify a name for a sheet?
    (technical note - I am using asp.net's Response.Write and passing it
    xml)
    Thanks,
    Marvin
    Hi Marvin

    Use Excel XML Schema Namespace and <ExcelWorksheet together with
    <Nametags.

    Examples:





    Hope this helps

    Comment

    Working...