解决导出Excel乱码的几种方法
public void SaveToExcel () {StringBuilder sb = new StringBuilder();sb.Append( id ).Append( \t );sb.Append( name ).Append( \n );ListUser list = GetUsers(); foreach ( var item in list){ sb.Append(item.Id).Append( \t ); sb.Append(item.Name).Ap...