I have used AsyncFileUpload AJAX control to upload a file to a column in a SQL Server database using LINQ to SQL. How do I retrieve the document from the database and allow the user to save to local drive using a Save As Dialog box using LINQ to SQL? This is ASP.NET web application. The DocumentFileContent database column is a Image SQL Server data type. Thanks
Share
The best way in webforms is to use an HTTP handler.
The DB query for an
imagedatatype will map to abyte[].