Posted on: 9/22/2013 6:39:41 PM | Views : 550

i saved date with "date" data type, in Database  it shows like below,
 07-Sep-13
 
But when i load this date to a DropDownList it shows,
07-Sep-13 12:00:00 Am
why it shows time also,which is not in my database ???
my code to show DATE  is
string movie = Request.QueryString["movie"].ToString(); if (!IsPostBack) { SqlDataReader dr1 = db.ExRdr("select Distinct Date from Show_Time where mov_Name = '" + movie + "' "); while (dr1.Read()) { DropDownList1.Items.Add(dr1["Date"].ToString()); } dr1.Close(); db.conclose(); } I want To show only Date,PLS GIVE ANYWAY TO ACHIEVE THAT.
 
...

Go to the complete details ...