G
grondaia
I am using a SQLDataAdaper to update data into a database Im setting
the updatecommand to a stored procedure and creating all the
paramaters. All seems to create correctly, however the sql command
that is passed to the database is framing all the dates with double
single quotes....its executing with text like:
exec spUpdateMoveTransaction
@equipmentID=63,@originID=22,@destinationID=48,@moveStatusID=4,@lowBoyID=NULL,@moveDate=''2005-08-30
00:00:00:000'',@round=NULL,@startTime=NULL,@stopTime=NULL,@createdByID=88,@lastUpdatedByID=181,@lastUpdateDate=''2005-08-30
15:34:10:300''
i pasted that directly from a trace. Why is the sqldataadapter using
two single quotes insted of one single quote to wrap dates. Any ideas?
Thanks
the updatecommand to a stored procedure and creating all the
paramaters. All seems to create correctly, however the sql command
that is passed to the database is framing all the dates with double
single quotes....its executing with text like:
exec spUpdateMoveTransaction
@equipmentID=63,@originID=22,@destinationID=48,@moveStatusID=4,@lowBoyID=NULL,@moveDate=''2005-08-30
00:00:00:000'',@round=NULL,@startTime=NULL,@stopTime=NULL,@createdByID=88,@lastUpdatedByID=181,@lastUpdateDate=''2005-08-30
15:34:10:300''
i pasted that directly from a trace. Why is the sqldataadapter using
two single quotes insted of one single quote to wrap dates. Any ideas?
Thanks