Thanks for the reply puneet.
I found the solution self.
I created a session variable with the value from sql and added a jquery function to link textbox to that variable.
<script>
var TargetDate = '<%=Session("TargetDate")%>';
$(function () {
$("input[id$='txtTargetDate']").datepicker("setDate", TargetDate);
});
</script>