fork download
  1. String strCom = String.Format(@"INSERT INTO Rent (memID , bookID , rentDate) VALUES
  2. ('{0}','{1}','{2}') UPDATE Book bookStatus ='1' WHERE bookID ='{3}' )",txtMemID.Text , txtBookID.Text, dtp.Value.ToShortDateString(),txtBookID.Text);
  3.  
  4. OleDbConnection conn= new OleDbConnection(strConn);
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,8): error CS0116: A namespace can only contain types and namespace declarations
prog.cs(4,17): error CS0116: A namespace can only contain types and namespace declarations
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty