You can open/create, read and update an Excel spreadsheet directly from a managed code application such as ASP.NET using the appropriate .NET Framework classes, i.e., Microsoft.Office.Interop.Excel.Application.
You can find one such example in the post here:
Thanks.