Author: freecomp
Subject: Datetime hatası Operand type clash: date is incom
Posted: 06 Temmuz 2016 at 11:15
Subject: Datetime hatası Operand type clash: date is incom
Posted: 06 Temmuz 2016 at 11:15
Datalist e veri çekmeye çalışırken şöyle bir hata alıyorum
Operand type clash: date is incompatible with int
kodlarım böyle
DataTable rezervasyongetir = fonksiyon.GetDataTable("SELECT * FROM Rezervasyon where Rezervasyon_Tarihi=" + Convert.ToDateTime(txtTarih.Text).ToString("yyyy-MM-dd"));
rplistele.DataSource = rezervasyongetir;
rplistele.DataBind();