Home > database >  How data in a textbox text box apart into the database?
How data in a textbox text box apart into the database?

Time:10-06

Pass a c # socket procedures, data have a temperature, time, the parameters of the wind, but are shown in the same text box, how can I put the data into the database table?

CodePudding user response:

Using special characters in the text box is separated, and then the background receiving process into three data content, respectively stored in the corresponding field

CodePudding user response:

reference 1/f, February 16 response:
separated using special characters in the text box, and then the background receiving process into three data content, respectively stored in the corresponding field
temperature is now 11 time 23 seconds KP 2.3 ki31 kd11 how?

CodePudding user response:

FOR XML PATH function

CodePudding user response:

It is best to pass the json format of the data, the program here to be deserialized as normal data, and then insert is simple,
  • Related