asp.net excel导入 [英] asp.net excel import
本文介绍了asp.net excel导入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我成功将Excel文件导入到sql ....现在问题是如何限制下次同一文件导入,如果有任何更新单元格是行怎样才能更新SQL表只有这些行和单元格
解决方案
我建议你在Excel表格中添加一个标志栏(隐藏)(例如Is Uploaded:Y或N)。
然后你可以根据标志值导入数据,并在上传数据时设置标志值。
希望这有助于...
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
解决方案
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...
这篇关于asp.net excel导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文