<div>
<asp:FileUpload ID="fuUploadFile" runat="server" AllowMultiple="true" />
<br />
<asp:Button ID="btnKaydet" runat="server" Text="Kaydet" OnClick="btnKaydet_Click" />
<br />
<asp:Label ID="lblResim" runat="server" Text=""></asp:Label>
</div>
protected void btnKaydet_Click(object sender, EventArgs e)
{
string str = ""; string filNames = "";
IList SecilenDosyalar = fuUploadFile.PostedFiles;
for (int i = 0; i < SecilenDosyalar.Count; i++)
{
Guid guid = Guid.NewGuid();
str = string.Concat(guid.ToString(), Path.GetExtension(fuUploadFile.PostedFiles[i].FileName));
fuUploadFile.PostedFiles[i].SaveAs
(Server.MapPath(string.Format("~/images/{0}", str)));
lblResim.Text += str + "";
}
}