17 Eylül 2019 Salı

DataTable Nesnesine Aktarılan Verileri Okuma

DataTable dt = sb.GetDataTable1("sorgu");
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                sb.cmd1("insert into tablo adı(tc,sifre) values ('" + dt.Rows[i]["tc"]+ "','" + dt.Rows[i]["sifre"] + "')");
            }

Hiç yorum yok:

Yorum Gönder