Conversion failed when converting date and/or time from character string.
Hi ,
I created new data type:
public object value
{
get
{
return drop1.SelectedValue;
}
set
{
drop1.SelectedValue = value.ToString();
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
}
}
protected void Button1_Click(object sender, EventArgs e)
{
string dropDownValue = string.Empty;
dropDownValue = value.ToString();
Label1.Text = "You have selected this" + dropDownValue;
}
Every time that I publish the node I recieve the next error:
Conversion failed when converting date and/or time from character string.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.Data.SqlClient.SqlException: Conversion failed when converting date and/or time from character string.
Conversion failed when converting date and/or time from character string.
Hi ,
I created new data type:
Every time that I publish the node I recieve the next error:
What could be the reason?
Thanks,
kukuwka
is working on a reply...