Home > Net >  C # in the database SQL execution no problem but in the program run times wrong: lost contact proces
C # in the database SQL execution no problem but in the program run times wrong: lost contact proces

Time:09-21

Execute an SQL in the database to perform no problem, but in VS program execution will outage jammed, I added the try catch an error not

After waiting for complains



Try again to find legal code certificate in the database interaction code

The most magical thing is that only the data in this way, other data no problem

Below is my run SQL
 UPDATE AD_RIGGEDMANUALLYBOM SET VEHICLEID='000', MATEERIALID='401156', MATEERIALNAME='front bumper harness assemblies' 
, MATSHORTCODE='66 mxy, MATNUM=' 1 ', MATUNIT='EA', SUNGROUP='75 a1, SUPPLIERSCODE=' 2870 ', SUPPLIERSNAME=', LINENAME='5593', OPERATOR='administrators',
Xjz08a REPLACEMATEERIALID='5006026', REPLACEMATEERIALNAME='right back door window frame on the paster, REPLACEMATSHORTCODE=' 22 jt5, REPLACEMATNUM='7', REPLACESUNGROUP=', STATE='1', EFFECTIVETIME=
To_date (' 2020/2/15 9:39:59 ', '- DD YYYY - MM hh24: mi: ss'), FAILURESTIME=to_date (' 2020/2/18 9:39:59 ', '- DD YYYY - MM hh24: mi: ss') WHERE ID='7'



The result of the database operation

CodePudding user response:

  •  Tags:  
  • C#
  • Related