<p>I am using a ASP/.Net webpage and i want to upload a pdf file into a SQL Database as a binary    I am uping the build in upload control, can you please suggest a way of doing this. I also need to no how to read the pdf back and display it in a web browser. I will be using linq to upload and query my sql database.</p>

You can use the
```
VARBINARY(MAX)
```
type in your database, create a LINQ to SQL mapping and use the
```
Binary
```
type with the
```
byte[]
```
type containing your PDF file's content.