title: Convert a string date format "dd/MM/yyyy" into "dd-month-yyyy"
body: <p>here, shift.frmfromdate ='{1/1/2015 12:00:00 AM}'. but, i want format 1-Jan-2015 </p>
  
  <pre><code>protected void txttodate_TextChanged(object sender, EventArgs e)
  {
      shift.frmfromdate = Convert.ToDateTime(txtfromdate.Text);
      shift.frmtodate = Convert.ToDateTime(txttodate.Text);
      gvshiftschdule.DataSource = shifthandler.shiftview(shift);
      gvshiftschdule.DataBind();
  }
  </code></pre>