Click here to Skip to main content
15,899,475 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have aa file uploader here i can upload excel file and insert into database


HttpPostedFileBase filel
after getting that do i need to call any method to store this into database menas any conversion
Posted
Updated 1-Dec-15 1:00am
v2

1 solution

Convert it into what? Are you talking about extracting the data out the Excel workbook and storing just that or storing the actual file itself?

For the file, this has been documented thousands of times on the web. You need only to Google for "store file in SQL server" and start reading.
 
Share this answer
 
Comments
Member 11970398 2-Dec-15 2:35am    
i have a excel sheet some columns and rows are there i want to store that into database by giving upload option
Dave Kreskowiak 2-Dec-15 10:29am    
That doesn't answer the question. Are you extracting data out of the uploaded workbook or are you saving the workbook file itself?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900