Question : Record the type SQL 2005 and C#

How do I record the type of file in this format (application / pdf) (application / vnd.ms-excel) in the SQL database with C #?

Answer : Record the type SQL 2005 and C#

FileUpload.PostedFile.ContentType returns a string with the contenttype.
Random Solutions  
 
programming4us programming4us