/// <summary>
/// 获得数据库中的表,以及视图
/// </summary>
public static ArrayList GetDBTableAndView()
{
ArrayList list;
string sql="select name from sysobjects where xtype IN('U','V') and status>0 order by name ";
list=ExecuteArrayList(CommandType.Text,sql,0);
return list;
}