title: get the value of date picker used in gridview
body: <p>i have create dynamic datepicker inside gridview. i want to know how to get the values of the datepicker</p>
  
  <p>help me out!!</p>
  
  <p>i have used this line</p>
  
  <pre><code> DateTime date2 = DateTime.Parse(((TextBox)Gridview1.Rows[rowIndex].Cells[3].FindControl("frmdate_endtime")).Text);
  </code></pre>