B
bpsdgnews
Hi,
I'm putting data from an SQLserver database in a datagridview by
making use of a stored procedure.
There's a time field in there that has decimal places to the seconds.
But even when I do this:
grd.Columns("time").DefaultCellStyle.Format = "HH:mm:ss"
The datagridview still shows something like: 01:13:54.360000
How can I make it to only show whole seconds?
I'm putting data from an SQLserver database in a datagridview by
making use of a stored procedure.
There's a time field in there that has decimal places to the seconds.
But even when I do this:
grd.Columns("time").DefaultCellStyle.Format = "HH:mm:ss"
The datagridview still shows something like: 01:13:54.360000
How can I make it to only show whole seconds?