none
SurfaceRT下的应用该怎么导入和导出Excel呢? RRS feed

  • 问题

  • 在RT下开发一个小程序,用Excel导入信息和导出,发现传统的Web和Winform方法都无法使用了,哪位高手能帮忙指点下呀,太谢谢了!
    2014年3月5日 2:27

答案

  • Hi,

    我提供给您的链接是以xml的形式来对excel进行操作的。windows store app没有针对excel的相关API,您可以寻找其他第三方的产品。

    祝您好运!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    2014年3月11日 1:34
    版主

全部回复

  • Hi,

    您可以参考下下面链接中的VT.CrazyAppy的代码,可以实现向excel里面读取数据和对数据进行操作:

    http://social.msdn.microsoft.com/Forums/windowsapps/en-US/4fce4765-2d05-4a2b-8d0a-6219e87f3307/reading-excel-file-using-c-in-winrt-platform?forum=winappswithcsharp

    祝您好运!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    2014年3月5日 9:44
    版主
  • 谢谢,不过我没说清楚呢,Excel是2003格式的,貌似2007开始微软才使用的xml。您有碰到过类似的情况么?
    2014年3月6日 1:29
  • 试试NPOI行不
    2014年3月9日 3:24
  • Hi,

    我提供给您的链接是以xml的形式来对excel进行操作的。windows store app没有针对excel的相关API,您可以寻找其他第三方的产品。

    祝您好运!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    2014年3月11日 1:34
    版主