I need help about updatecursor,thanks!

Discussion created by rayxuuec on May 9, 2013
Latest reply on May 10, 2013 by mvolz47
I want to delete the row which ZQBM field contains 331122001.
any ideas, thoughts? i would gratefully appreciate it.

import arcgisscripting
gp = arcgisscripting.create(9.3)

gp.workspace = r"D:\excerise\cli.mdb\resul"
fc = r"D:\excerise\cli.mdb\resul\CM_1"
rows = gp.updatecursor(fc)
row = rows.next()

while row:
    if row.ZQBM like '331122001%'
    row = rows.next