| 发表于:2007-04-03 12:49:363楼 得分:5 |
public shared function htmlselectbind(byval hs as htmlselect, byval dt as datatable, byval st as string, byval sv as string) hs.datasource = dt.defaultview hs.datatextfield = st hs.datavaluefield = sv try hs.databind() return 1 catch ex as exception return 0 end try end function end class 然后绑定时候直接调用这方法 | | |
|