Hi,
Is there any way to set the value of an item in DGV in a Date only?.

I was trying to send each cell value in my DGV.
but when I change the value to ".tostring" it transfer the date also with time.
but when I change the value to format date. it doesnt accept to transfer if cell value is Null.

here is my code.

Dim i As Integer
i = DGVEmployee.CurrentRow.Index
LblID.Text = DGV.Item(0, i).Value.ToString
TBEmpID.Text = DGV.Item(1, i).Value.ToString
TBSponsor.Text = DGV.Item(2, i).Value.ToString
TBDesignation.Text = DGV.Item(3, i).Value.ToString
TBJoinDate.Text = Format(DGV.Item(4, i).Value, "dd-MMM-yyyy")