Convert Date to String

Posted by Senthilmcatyr under VB.NET on 9/15/2011 | Points: 10 | Views : 1468 | Status : [Member] | Replies : 1
Hi,
What is mean by "objRow.Item("PLAN_DATE") = CType(objRow.Item("PLAN_DATE"), String).Insert(4, "/")"?

Regards,
SenthilKumar.s




Responses

Posted by: Blessyjees on: 9/21/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi,

This statement means that convert the date value to string and insert "/" at the postion of 4(index) and reassign the updated value to objRow.Item("PLAN_DATE").

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Senthilmcatyr, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response