日期:2014-05-17 浏览次数:21373 次
private DataTable ShowRowData(string path)
{
// string path = txtFileName.Text;
// DataSet ds = new DataSet();
DataRow dr = dt.NewRow();
if (number == 0)
{
dt.Columns.Add("文件名");
}
number++;
dr["文件名"] = Path.GetFileName(path);
Dictionary<string, string> dic = new Dictionary<string, string>();
string[] str = DataInfo.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
for (int i = 0; i < str.Length; i++)
{
if (str[i].ToString() == "")
{
continue;
}