cnblogs/dcrenl/.net ASPxTreeList 使用手记.html
2024-09-24 12:43:01 +08:00

9 lines
414 B
HTML

<div id="sina_keyword_ad_area2" class="articalContent ">
<div>ASPxTreeList在使用<strong>ASPxGridViewExporter</strong>控件做导出时,如果指定文件名是中文时会乱码可以用以下方法解决:</div>
<div>grvExporter为<strong>ASPxGridViewExporter</strong>控件的ID</div>
<div>grvExporter.WriteXlsToResponse(HttpUtility.UrlEncode("中文名称"));</div>
<div><br />
</div>
</div>
<p>&nbsp;</p>