Hi,
I am trying to insert into sql from Dynamic object ,
But insert failed with date type values,
Can some one suggest how can I handle this situation please.
command.CommandText = "INSERT INTO table VALUES (" + "'" + string.Join("',' ", ((IDictionary<string, Object>)rec).Values) + "')";
I am trying to insert into sql from Dynamic object ,
But insert failed with date type values,
Can some one suggest how can I handle this situation please.
command.CommandText = "INSERT INTO table VALUES (" + "'" + string.Join("',' ", ((IDictionary<string, Object>)rec).Values) + "')";