i am using the following statement:
dim d as date
d=format(datetimepicker1.value.date,"dd/MM/yyyy")
but when the application is executed,following error is returned:
not a valid month..
why is it so??
please help..
i want to add default value to the html text box by the view data. the foolwing code will give an idea wht i want to do exactly
<%= Html.TextBox("quantity", <%= Html.Encode(ViewData["quantity"]) %, new { maxlength = 4 })%
but it shows an error. plz tel me the solution for this.
thank in advance....