you can achieve it by using zipFile class
create a string array that stores the selected songs.
private void MakeZip(string fname)
{
using (ZipFile zip = new ZipFile())
{
string pathname = Server.MapPath("~/FileUpload/ZipFile/");
string[] filenames = Directory.GetFiles(pathname);
foreach (string filename in filenames)
{
ZipEntry e = zip.AddFile(filename,"");
}
zip.Save(Server.MapPath("~/Zips/abc.zip"));
}
}
more about ZipFIle Class
http://msdn.microsoft.com/en-us/library/system.io.compression.zipfile(v=vs.110).aspx[
^]