asp输出Excel设置单元格类型为文本
0条评论
0 ℃
<style>
.xlsText{mso-style-parent:style0;mso-number-format:”\@”;} /* 设置单元格类型为文本*/
</style>
<%
response.ContentType=”application/vnd.ms-excel” ‘设置网页输出类型为:Excel
%>