Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

c#check excel for content

$
0
0

Hy, i have some code that updates sql table by excel i know want something that checks the excel file if * is insert in the excel that it does not update that filed or record

R1R2R3
update update *(so dont update)

C#
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingSystem.Configuration;usingSystem.Data.SqlClient;usingSystem.IO;usingSystem.Data.OleDb;usingSystem.Data;namespaceOpladen_Teksten{classProgram{staticvoidMain(string[]args){//SYTEEM LOGGINlogger.Log.AppName="Biopack-Lezen-OITM";logger.Log.DateFormat="yyyy-MM-dd";logger.Log.DateFormat="yyyy-MM-dd HH:mm:sss";logger.Log.WriteOnlyErrorsToEventLog=false;logger.Log.WriteOnlyErrorsToEventLog=false;logger.Log.WriteToFile=true;stringusername=System.Security.Principal....

Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>