I want to store the date into database but it is taking only the default date 01-Jan-1900. Please tell me how i can save the selected date into database and reflect it in the gridview
 
 My Code is:
Design:
 
Aspx.cs
 
if (!string.IsNullOrEmpty(txtDateForm.Text.Trim()))
{
date = DateTime.Parse(txtDateForm.Text.Trim());
}
cmd.Parameters.AddWithValue("@RegDate", date);