show only date to RadGrid

1 posts, 0 answers
  1. Hengky
    Hengky avatar
    67 posts
    Member since:
    Sep 2015

    Posted 15 Dec 2015 Link to this post

    Hello All, 

    First I hope all of u will understand what i mean, because my english is not good enough. 

     So I want to show only date (without time) to radgridview. How make this happen. And how to make header text is customize

     Here's the code 

        Sub Tampil()
            da = New OleDbDataAdapter("Select * from TrTimbang ORDER BY LastEdited", conn)
            ds = New DataSet
            da.Fill(ds, "TrTimbang")
            GridList.DataSource = (ds.Tables("TrTimbang"))
        End Sub 

     Thanks before.




Back to Top