Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
i successfully import Excel file into sql ....now the problem how to restrict same file import for the next time and if there is any update cells are rows how can i update the SQL table only with those rows and cells
Posted

1 solution

I recommend you adding a flag column (hide) in the Excel table (e.g. Is Uploaded: Y or N).

Then You can import the data according to the flag value and set the flag value when data is uploaded.

Hope this helps...
 
Share this answer
 
Comments
CoderPanda 24-Feb-14 1:28am    
Someone with a high weightage has down-voted this solution. May I know why?
sibtain shah 14-Apr-14 2:31am    
sorry what you said?

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