DataTable

1:

SqlDataAdapter newSqlDataAdapter = new SqlDataAdapter(SQLString, GetSQLConn());
        DataTable newDataTable = new DataTable();
        try
        {
            newSqlDataAdapter.Fill(newDataTable);
        }
        catch (Exception eError)
        {
            SQLString = eError.Message;
        }

posted @ 2010-11-23 15:33  枫-  阅读(202)  评论(0编辑  收藏  举报