Protected Sub UploadBtn_Click(ByVal sender As Object, ByVal e As System.EventArgs) If (FileUpLoad1.HasFile And FileUpLoad2.HasFile) Then FileUpLoad1.SaveAs("C:\Documents and Settings\Administrator\My Documents\anil\" + FileUpLoad1.FileName) Label1.Text = "File Uploaded: "; + FileUpLoad1.FileName FileUpLoad2.SaveAs("C:\Documents and Settings\Administrator\My Documents\anil\"; + FileUpLoad2.FileName) Label2.Text = "File Uploaded:" + FileUpLoad2.FileName Else Label1.Text = "No File Uploaded." Label2.Text = " No File Uploaded." End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)