AI OnAI Off
sortOrder = CurrentPage["SortOrder"].ToString();
DataSet myTableDataSet = new DataSet();
DataTable myTable = new DataTable();
myTable.Columns.Add(new DataColumn("Path", typeof(string)));
myTable.Columns.Add(new DataColumn("Size", typeof(string)));
myDataRow1["Path"] = HttpUtility.HtmlEncode(f.Path);
myDataRow1["Size"] = ConvertFileSize(f.Length);
myDataView.Table = myTableDataSet.Tables[0];
myDataView.Sort = "DirID, FileID, " + sortOrder;
/John