cartel Posted March 19, 2018 Share Posted March 19, 2018 C# DEVEXPRESS gridde kolonda datetime sorunu Merhaba, Devexpress gridview kolonunda tipini datetime kullanıyorum ve filtresinide datetime yaptım ama gridde filtrelemeyi sadece gün olarak yapıyor örnk:01.02.2018 olarak filtrelediğim zaman sonuç: 01.01.2018 01.02.2018 01.03.2018 olarak getirmektedir konuyla ilgili yardımlarını rica ederim Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted March 19, 2018 Editor Share Posted March 19, 2018 Örnek bir kod felan gösterseydin yada proje felan biraz daha fazla yardımcı olma şansımız olurdu diye düşünüyorum. Bu şekilde en kötü diye bileceğim gelen datanın date time formatı uyumsuz. Quote Link to comment Share on other sites More sharing options...
cartel Posted March 20, 2018 Author Share Posted March 20, 2018 Merhaba, SELECT CONVERT(VARCHAR(10), CTRNS.DATE_, 104) AS TARIH FROM DENEME olarak vermiştim viewde gridde form load şu şekilde sorguladım ama sonuç yine aynı gridView1.ActiveFilterString = (new OperandProperty("TARIH") = dateBasla.DateTime).tostring(); Quote Link to comment Share on other sites More sharing options...
cartel Posted March 20, 2018 Author Share Posted March 20, 2018 teşekkürler sql datetime çevirdim düzeldi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.