2
Answers

How we can validate excel data before import in SQL by using

Mohan Chandra

Mohan Chandra

8y
272
1
How we can validate excel data before import in SQL by using 
 
I need a solution that my client give the master data in excel sheet old + new data) it is difficult to find which one is new data, and even some data is updated with same Receipt No,which is already in SQL but not updated.
now give me solution how i can validate data when file upload control picks that excel sheet for uploading.


I want to try when an new excel sheet comes by client, client upload it to SQL by using file upload control but it should be validate first.if new entry come then it should be insert and if old record already in SQL then skip and if updated row comes then update in SQL server
Answers (2)
0
mounika mounika

mounika mounika

NA 43 3.9k 7y



We are opening the saved workbook which is an existing workbook.

The user will be going to save the excelworkbook and open the same workbook


so, when the saved workbook is reopened at that time we are using this workbook open event to perform respected operations

0
Rajkiran Swain

Rajkiran Swain

NA 33.9k 373.3k 7y
https://stackoverflow.com/questions/24692802/excel-vsto-workbook-open-event-not-firing