CodePudding user response:
String sqlString=$" insert into Students (StudentName, Gender, Birthday, AttendanceNO, Stulmage, Age, Phone, StudentAddress) VALUES (' {0} ', '{1}' and '{2}', '{Students. AttendanceNO}', '{3}, {4}, {5},' {6},"Students Birthday, students AttendanceNO, students. Stulmage, students. The Age, students. Phone, students. StudentAddress) ";
CodePudding user response:
A little leak$to the string. Format (