- 博客(1)
- 资源 (5)
- 收藏
- 关注
原创 DataTable转成List
DataTable转成List //把一个Datatable 赋值给一个List对象 //定义一个转换类 public class ConvertTool { public static List<T> DataConvert<T>(DataTable tb) { List<T> lst ...
2019-08-21 17:42:06
295
Interop.Shell32 1.2版本
Interop.Shell32 1.2版本支持xp 1.0版本支持win7
string dirName = System.IO.Path.GetDirectoryName(FileName);
string SongName = System.IO.Path.GetFileName(FileName);//获得歌曲名称
ShellClass sh = new ShellClass();
Folder dir = sh.NameSpace(dirName);
FolderItem item = dir.ParseName(SongName);
string win7Time = dir.GetDetailsOf(item, 27); //win7 win10
string xpTime = dir.GetDetailsOf(item, 21); //xp
2018-01-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人