Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Skedar sk = new Skedar();
     DataTable dt = sk.Lexo("C:\\Users\\GRKN\\Documents\\Ushtrime_4\\Ushtrime_4\\Emails.csv");
     Ruaj r = new Ruaj();
     foreach (DataRow row in dt.Rows)
     {
         string ad = row.Field<string>(0);
         string su = row.Field<string>(1);
         string tr = row.Field<string>(2);
         r.ShtoNeTabele(ad, su, tr);
     }
 }
Example #2
0
 public void LexoTest()
 {
     Skedar sk = new Skedar();
     DataTable result = sk.Lexo("C:\\Users\\GRKN\\Documents\\Ushtrime_4\\Ushtrime_4\\Emails.csv");
     Assert.AreEqual(result, result);
 }