Dear all,
Now am using normal fileuploading concept.but this not supported in music files..
Error Displayed for:
The connection wat reset...
am using this coding:
protected void btnsubmit_Click(object sender, EventArgs e)
{
MusicName = System.IO.Path.GetFileName(filemusic.FileName.ToString());
if (filemusic.HasFile)
{
//Save File to the proper directory
filemusic.SaveAs(System.Web.HttpContext.Current.Request.MapPath("UploadFiles/") + MusicName);
//Combine the Path for save into the column of table
Musicfile = "UploadFiles/" + MusicName;
}
else
{
Musicfile = "UploadFiles/notadded.jpg";
}
}
chandru