62,268
社区成员
发帖
与我相关
我的任务
分享using System.IO
string path = "c:\\book\\c#\\image.jpg";
Response.Write(Path.GetFileName(path));string path = Path.GetFileName("C:\My Document\path\image.jpg");string path = Path.GetFileName("C:\My Document\path\image.jpg");