i hv to take date as input in textbox using pop up calendar its gettng the date in texttbox but its gvng the above error. bt it works fine without taking pop up calendar n gvng input manually
i tried to convert string to date but its not wrkng
plz help iis urgent.......
tats the td tag where i hv textbox
<td style="width: 82px; height: 75px">
&nbsp;<%--<input id="txtDateofReturnPH" name = "txtDateofReturnPH" type="text" runat="server" readonly="readonly" class = "ActiveSmallTextBox" style="left: 6px; width: 101px; position: relative; top: 0px" /><a href="javascript:tom(0, 'aspnetForm', 'ctl00$ContentPlaceHolder2$txtDateofReturnPH', 'Date', 'main',620,380);"><img src="../ExternalResources/Images/calendar.jpg" width="16" height="15" border=0 id=imgPH style="display:inline; left: 123px; position: relative; top: -21px;" alt = "Calender" /></a>--%>
<asp:TextBox ID="TextBox3" runat="server" Width="95px"></asp:TextBox><a href="javascript:tom(0, 'aspnetForm', 'ctl00$ContentPlaceHolder2$TextBox3', 'Date', 'main',620,380);"><img src="../ExternalResources/Images/calendar.jpg" width="16" height="15" border="0" id="imgPH" style="display:inline; left: 123px; position: relative; top: -21px;" alt = "Calender" /></a>
</td>

If you want to get an answer to your question, you should post it in DaniWeb's ASP.NET forum. This is VB.NET forum ;)