Here i am able to save the date.
Change your HTML for CalendarExtender
<asp:TextBox ID="txtShippedDateTime" runat="server" Width="190px"></asp:TextBox>
<asp:ImageButton runat="Server" ID="ImgCal1" ImageUrl="calendar.png" AlternateText="Click to show calendar"
OnClientClick="return false;" />
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtShippedDateTime"
PopupButtonID="ImgCal1" Format="dd/MMM/yyyy" />
<asp:Button ID="Button1" runat="server" OnClick="SaveDate" Text="Save
Date" />
VB:
Protected Sub SaveDate(sender As Object, e As EventArgs)
Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString
Dim sqlStatment As String = "INSERT INTO DateTable(ShippedDate) VALUES(@ShippedDate)"
Using con As New SqlConnection(constr)
Using cmd As New SqlCommand(sqlStatment, con)
cmd.Parameters.AddWithValue("@ShippedDate", Convert.ToDateTime(Me.txtShippedDateTime.Text))
con.Open()
cmd.ExecuteNonQuery()
con.Close()
End Using
End Using
End Sub