Vivekh

Vivekh

  • NA
  • 4
  • 0

Uploading Files and saving in SQL

Jun 4 2009 4:52 AM
Hello one and all, I am having small requirement i.e i upload any type of file using file upload control. When i upload i will save it to a folder and i will save it reference in the database. What i need is when i want to view the data i will enter the Id i want to view. On that case if at any particular Id if any word documnet or PDF document or text document is saved it should open in the particular one means if word documnet means in MSWORD and PDF means on Acrobat reader or i should allow the option like this open, Save or cancel as we have when we are downloading from web. Can any one give me the sample code for this.