| 
                     | 
                    
                        主题:  如何进行这样的批量删除
                     | 
                
            
                        
                
                    
                          云中游 
                        职务:普通成员 
                        等级:2 
                        金币:1.0 
                        发贴:397 
                        注册:2000/10/26 20:06:05 
                     | 
                    
                        
                            
                            #12006/4/28 18:54:03 
                            
                                像邮件系统里收件箱,前面有许多复选框,比如有10条记录,选中10条记录前面的复选框,点击删除,就会10条记录一起删除,请问如何进行这样的批量删除
                                
                                
                                
                             
                            
                            
                         
                     | 
                
                        
                
                    
                          缺缺 
                        职务:管理员 
                        等级:8 
                        金币:41.0 
                        发贴:9620 
                        注册:2004/1/14 19:14:47 
                     | 
                    
                        
                            
                            #22006/4/28 19:32:55 
                            
                                delete from msg where msgid in(1,2,3,4,5)
                                
                                
                                
                             
                            
                                
                                    编辑历史:[此帖最近一次被 allinhands 编辑过(编辑时间:2006-04-28 21:05:20)] 
                                     
                                 
                             
                            
                         
                     | 
                
                        
                
                    
                          云中游 
                        职务:普通成员 
                        等级:2 
                        金币:1.0 
                        发贴:397 
                        注册:2000/10/26 20:06:05 
                     | 
                    
                        
                            
                            #32006/4/28 19:49:42 
                            
                                1,2,3,4,5是什么意思?比如复选框字段名为aaa,能说详细点吗?
                                
                                
                                
                             
                            
                            
                         
                     | 
                
                        
                
                    
                          yiliaocheng 
                        职务:普通成员 
                        等级:2 
                        金币:2.0 
                        发贴:631 
                        注册:2005/12/29 19:33:15 
                     | 
                    
                        
                            
                            #42006/4/28 21:37:06 
                            
                                do while not rs.eof then if request("aaa"  =1 rs.delete rs.update rs.movenext loop
                                
                                
                                
                              
                            
                            
                         
                     | 
                
                        
                
                    
                          蓝鲸 
                        职务:版主 
                        等级:5 
                        金币:42.1 
                        发贴:2614 
                        注册:2001/12/20 15:57:57 
                     | 
                    
                        
                            
                            #52006/4/28 21:52:11 
                            
                                参考SQL SERVER帮助中IN的用法 该查询为符合数据集中的任何查询条件。
                                
                                
                                
                             
                            
                            非常大鱼 
                         
                     | 
                
                        
                
                    
                          janlay 
                        职务:管理员 
                        等级:7 
                        金币:28.0 
                        发贴:7244 
                        注册:2003/11/27 18:07:11 
                     | 
                    
                        
                            
                            #62006/4/29 22:11:23 
                            
                                ' Enumerate each mail id from the same name For Each value In Request.Form("mail")   intMailId = CLng(value)   ' delete this mail, just like:   ' Call conn.Execute("DELETE FROM tb WHERE MailID = "& intMailId) Next
                                
                                
                                
                             
                            
                            
                         
                     | 
                
                        
                
                    
                          云中游 
                        职务:普通成员 
                        等级:2 
                        金币:1.0 
                        发贴:397 
                        注册:2000/10/26 20:06:05 
                     | 
                    
                        
                            
                            #72006/4/30 14:56:12 
                            
                                楼上的这个好深啊,看不明白
                                
                                
                                
                             
                            
                            
                         
                     |