Home > Net >  The delete from the name of the table where (column name='delete the object)
The delete from the name of the table where (column name='delete the object)

Time:05-20

Name of the table can use the contents of the textbox control, how to write

CodePudding user response:

Is the string concatenation
String a=this. Txtbox1. Text. The Trim ();
//judge a is not equal to empty, such as
String SQL="delete from" + a + "where field=xx";
//SQL execution
  • Related