Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

read excel file from 3rd row with blank data in some field using wpf MVVM

$
0
0

I have an excelsheet like

  1. 1st two rows contains some garbage data.
  2. 4 columns like(Country ,Currency, CountryCode, CurrencyValue).
  3. Some blank field is there in CountryCode and CurrencyValue.

My sql table columns contain(CountryId, Country ,Currency, CountryCode, CurrencyValue, CountryFlag).

In my view I have a textbox to show file path, one button to browse(using open file dialog),another button to update.

I am facing problem for updating data in data base, .Also you can see some extra column is there and some blank field is also there. I am using MVVM pattern also entity frame work for this project.

NOTE: If only CurrencyValue can be updated that will be great.

Any kind of help will be appriciated.

Thanks in advance.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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