亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

asp下檢查表中是否存在某個(gè)字段(列)函數(shù)

 更新時(shí)間:2008年03月06日 21:49:41   作者:  
asp可以方便的檢查數(shù)據(jù)庫表中,是否存在這個(gè)字段

復(fù)制代碼 代碼如下:

Function   CheckFields(FieldsName,TableName)    
  Flag=False    
  sql="select   *   from   "&TableName    
  Set   RS=Conn.Execute(sql)    
  for   i   =   0   to   RS.Fields.Count   -   1    
          if   RS.Fields(i).Name=FieldsName   then      
  Flag=True    
  Exit   For    
  else    
  Flag=False    
  end   if      
  Next    
  CheckFields=Flag    
End   Function    

相關(guān)文章

最新評(píng)論