StringWriter sw = new StringWriter();
string Headsting = "";
//输出表头
foreach (DataColumn col in dtColumns)
{
Headsting += colColumnName + ",";
}
swWriteLine(Headsting);
foreach (DataRow dr in dtRows)
{
swWriteLine(stringJoin(",", drItemArray));
} swClose();
>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)