Ne arayalım?

ARAMIZA KATILIN

BİZE ULAŞIN

Adres:

E-posta:

host/bin/bilisimlife.dll

iletisim@bilisimlife.net




 
Rserit
Developer
       
 1026  
 278

There are fewer columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement Hatası

Selamlar,
SqlCommand ile Insert işlemi yaparken execute aşamasında "There are fewer columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement" hatası alıyorsanız, Insert yaparken yazdığınız sütunlarla girdiğiniz values'lerin eşit sayıda olmaları gerekiyor.Kontrol etmelisiniz. Bilindiği üzere Insert işleminde sıralı sistem vardır. Yazdığınız sıraya göre değerler yazılır. Fazladan ya da eksik değer girmiş olabilirsiniz.

Bu yüzden Paramater ile girilmesi taraftarındayız.

İyi çalışmalar,
Recep.


Mesaj 14.04.2017 10:24:55 tarihinde Rserit tarafından düzenlenmiştir.

Developer.