Can't update date in aspx to a MS-ACCESS table
- by Bjork
Hello I'm having problem with updating datatypes
I insert the date in the C# part like this
string strSQL = "INSERT into Frettir (CreatedBy,CreatedOn,Title,Description,Starts,Ends,CatId,SectionId,ArticleExt,Myndatexti,MyndUrAlbumi,NrMyndar) values(?,?,?,?,?,?,?,?,?,?,?,?)";
cmd.Parameters.Add("@Starts",OleDbType.Date).Value = dstartdate;
but…