29 lines
569 B
C#
29 lines
569 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DatenDB
|
|
{
|
|
public class Sortiment
|
|
{
|
|
public Sortiment()
|
|
{
|
|
}
|
|
public Sortiment(string row, int nr)
|
|
{
|
|
if (nr == 0) return; //ERSTE ZEILE IGNORIEREN.
|
|
string[] zeileData = row.Split(';');
|
|
|
|
this.KundeNummer = zeileData[1];
|
|
this.ArtNr = Convert.ToInt32(zeileData[6]);
|
|
this.ArtName = zeileData[7];
|
|
}
|
|
public string KundeNummer { get; set; }
|
|
public int ArtNr { get; set; }
|
|
public string ArtName { get; set; }
|
|
}
|
|
|
|
}
|