Home > Net >  $statement is modified into a string. The Format statement, the code can change
$statement is modified into a string. The Format statement, the code can change

Time:04-05

String sqlString=$" insert into Students (StudentName, Gender, Birthday, AttendanceNO, Stulmage, Age, Phone, StudentAddress) VALUES (' {Students. StudentName} ', '{Students. Gender}', '{Students. Birthday}', '{Students. AttendanceNO}', '{Students. Stulmage}, {Students. Age},' {Students. Phone} ', '{Students. StudentAddress}') ";
  •  Tags:  
  • C#
  • Related