数据类的定义:
public class Result_Display
{
private string id;
public string ID
{
get
{
return id;
}
set
{
id = value;
}
}
private string depth;
public string DEPTH
{
get
{
return depth;
}
set
{
depth = value;
}
}
public Result_Display(string id, string depth)
{
this.id = id;
this.depth = depth;
}
public Result_Display() { }
}
创建文件方法:
private string CreateFile(string folder, string fileName, string fileExtension)
{
FileStream fs = null;
string filePath = folder + fileNam