I've got a session set called 'Selected date' which I'm trying to add to a textbox in a formview insertitem template.
How do i doi this?
My feeble attemt is
Dim Date2TextBox As TextBox
FormView1.FindControl("Date2TextBox") = Session("Selecteddate")
Also if the session is not present then i want the textbox to remain blank and not throw an error.