본문 바로가기

Programming/C#, WPF

[MariaDB] 데이터 입력


string cmdStr = "INSERT INTO attitude (pitch, roll, heading)" + "VALUES('"+ attitude.Pitch + "', '"+ attitude.Roll + "', '"+ attitude.Yaw + "')" ;

cmd = new OdbcCommand(cmdStr, conn);

reader = cmd.ExecuteReader();