Posted By

krisdb on 05/17/07


Tagged

ASP


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

asifrizvigmailcom
britevents


split checkboxes


 / Published in: ASP
 

  1. dim sId: sId = request.form("Id")
  2. dim arrId,iRow,iId,iCount
  3.  
  4. arrId = split(sId,",")
  5. iCount = 0
  6. for iRow = 0 to ubound(arrId )
  7. iId = arrId(iRow)
  8. if len(iId) > 0 then
  9. oConn.execute("delete from table where id = " & iId)
  10. iCount = iCount + 1
  11. end if
  12.  
  13. next

Report this snippet  

You need to login to post a comment.