Showing only Date in ListView

  • Thread starter Thread starter Raina Anil
  • Start date Start date
R

Raina Anil

Guest
Hi,

Anyone know how to format the Date Time Picker in C# to show Date only using DataReader in ListView. Below is the part of Code

OleDbDataReader dr = cmddr.ExecuteReader();

while (dr.Read())
{
dp_expDetail.Value = Convert.ToDateTime(dr["e_date"].ToString ());
}

the above code is showing date as well as time but i want it show only date

Continue reading...
 
Back
Top