Using both ways you can achieve this.Fileupload control is built in control in ASP.net.
Here is the HTML Code.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="jquery.js" type="text/javascript"></script>
<script src="jquery.MultiFile.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:fileupload id="FileUpload1" runat="server" xmlns:asp="#unknown" />
<br />
<asp:fileupload id="FileUpload2" runat="server" xmlns:asp="#unknown" />
<br />
<asp:fileupload id="FileUpload3" runat="server" xmlns:asp="#unknown" />
<br />
<asp:fileupload id="FileUpload4" runat="server" xmlns:asp="#unknown" />
</div>
<asp:button id="btnUpload" runat="server" xmlns:asp="#unknown">
onclick="btnUpload_Click"
Text="Upload Files"/><br /><br />
</form>
</body>
</html>
</asp:button>
Code to save the files on Button click.
protected void btnUpload_Click(object sender, EventArgs e)
{
HttpFileCollection uploads = Request.Files;
for (int fileCount = 0; fileCount < uploads.Count; fileCount++)
{
HttpPostedFile uploadedFile = uploads[fileCount];
string fileName = Path.GetFileName(uploadedFile.FileName);
if (uploadedFile.ContentLength > 0 )
{
uploadedFile.SaveAs(Server.MapPath("~/Files/") + fileName);
lblMessage.Text += fileName + "Uploaded <br />";
}
}
}
Here the uploaded files are get saved into server,in yours case you can extract the details of file and save it to database.
Hope this one help.
Thanks.
[Edit member="Tadit"]
Formatted Text.
[/Edit]