This is a migrated thread and some comments may be shown as answers.

show only date to RadGrid

0 Answers 94 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Hengky
Top achievements
Rank 1
Veteran
Hengky asked on 15 Dec 2015, 07:27 AM

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 

 

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Hengky
Top achievements
Rank 1
Veteran
Share this question
or