我想将从数据库里查询到的一个字段的数据作导出文件的文件名,可是我不会,刚刚学~!比如我的查询语句是这个:select top 1 abcd from 1234 where id='5'将查到的数据填充到一个string 的变量里,还是别的什么,最后:
Response.AddHeader("Content-Disposition", "attachment; filename=" 将查到的值入到这 ".csv");