show only date to RadGrid

1 posts, 0 answers
  1. Hengky
    Hengky avatar
    18 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
            ds.Clear()
            da.Fill(ds, "TrTimbang")
            GridList.DataSource = (ds.Tables("TrTimbang"))
            GridList.BestFitColumns()
        End Sub 

     Thanks before.

     

    hengky 

     

Back to Top