I need to remove time portion of date time or probably have the date in following format in object form not in the form of string.
object
string
For using by datalist, repeater.. in aspx page:<%# Eval("YourDateString").ToString().Remove(10) %>