全部博文(64)
分类:
2009-08-08 08:25:07
string str="Delete from News where Passed=True";
string str="Update News set Passed=0 where Passed=True";
string str="Insert into News (Passed)values(0) ";
myCommand.Parameters.Add("@Passed",OleDbType.TinyInt).Value=1;
读操作:
string str="select * from News where Passed=True";
string str="select * from News where Passed=False";