Jump to content

C# Devexpress Gridde Kolonda Datetime Sorunu


cartel
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Editor

Ö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.

Link to comment
Share on other sites

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();

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...