0
Good morning, I have a field on the grid, which is filled from SQL a Time field(7).
It appears this way in the grid: 15:10:51.1000000
But I would like it to appear like this: 15:10:51, and in every way I try, not really, I tried like this: Dataformatstring="{0:hh: mm}", like : Dataformatstring="{0:t}"
Either it gives error in the string or it simply doesn’t convert to the right format. I would like to know the right way to convert in the column on the grid. Thank you.
No way I try to work out, has any way to set the Gridview time ??
I don’t know if it would work for you, but I use hour.Tostring("HH:mm:ss"). But I don’t think that’s your case.
– William Cézar
Because it’s William it’s because I set up right inside the Gridview. Thank you.
– Mariana