发一个ASP的ADODB类代码(9)


                                        else
                                                Insert_Table = true
                                end if
                                '获得最后增加ID
                                if table <> "" and id_column <> "" then
                                        Set ds = conn.Execute("select "&id_column&" from "&table&" order by "&id_column&" desc")
                                end if
                                if err then 
                                                Insertd = 0:err.clear
                                        else Insertd = ds(0)
                                end if
                                Set ds = nothing

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/2519.html