protected void btnUplaod_Click(object sender, EventArgs e) { ServiceReferenceFileUpload.UploadFileServiceClient clientUpload = new ServiceReferenceFileUpload.UploadFileServiceClient(); string path = clientUpload.UploadFile(txtFilePath.Text); Label1.Text = "your file is uploaded at " + path; }
protected void btnUplaod_Click(object sender, EventArgs e) { ServiceReferenceFileUpload.UploadFileServiceClient clientUpload = new ServiceReferenceFileUpload.UploadFileServiceClient(); string path=clientUpload.UploadFile(txtFilePath.Text); Label1.Text = "your file is uploaded at " + path; }