$语句修改成string.Format语句,代码怎么改呀
杨译733 2021-04-04 04:35:55 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}')";