//Check folder is exist
DirectoryInfo dInfo = new DirectoryInfo
(Server.MapPath( strMediaFileSavePath));
//Create Folder and add files
if (!dInfo.Exists)
{
//dInfo.CreateSubdirectory("@"+strMediaFileSavePath);
System.IO.Directory.CreateDirectory
(Server.MapPath(strMediaFileSavePath));
if (this.AddVideo())
{
return true;
}
else
{
return false;
}
}
Friday, February 29, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment