Abdalla Elawad

Abdalla Elawad

  • NA
  • 1k
  • 215k

How return date from SQL using c# without time

Sep 6 2016 7:55 AM
Hi Programmer :
 
How return date from SQL using c# without time like in photo below attached both with code c# :
 
TextBox2.Text = dt.Rows[0]["Recycle_Date"].ToString();
TextBox3.Text = dt.Rows[0]["Masool_1"].ToString();
TextBox4.Text = dt.Rows[0]["Masool_2"].ToString();
TextBox5.Text = dt.Rows[0]["StartTeamDate"].ToString();
TextBox6.Text = dt.Rows[0]["NewShifitingDate"].ToString();
 
 

Answers (13)