摘要:
System.Guid.NewGuid().ToString(); //ToString() 为 null 或空字符串 (""),则使用"D"。 结果:820941e4-3dd5-4835-b67a-b19b208428ccSystem.Guid.NewGuid().ToString(... 阅读全文
posted @ 2015-06-05 17:05
junoveia
阅读(1309)
评论(0)
推荐(0)
|
摘要:
System.Guid.NewGuid().ToString(); //ToString() 为 null 或空字符串 (""),则使用"D"。 结果:820941e4-3dd5-4835-b67a-b19b208428ccSystem.Guid.NewGuid().ToString(... 阅读全文
posted @ 2015-06-05 17:05
junoveia
阅读(1309)
评论(0)
推荐(0)
摘要:
using System.IO;string directory = "UploadPhotos/"; //在服务器上创建上传图片存储的文件夹if (!Directory.Exists(Server.MapPath(directory))... 阅读全文
posted @ 2015-06-05 16:03
junoveia
阅读(498)
评论(0)
推荐(0)
|