SqlCeCommand getTables_comm = new SqlCeCommand("SELECT table_name from user_tables", conn); getTables_comm.CommandType = CommandType.Text; getTables_comm.ExecuteNonQuery();
conn
An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll.
ExecuteNonQuery
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES
USE [database] GO SELECT * FROM sys.tables WHERE [type] = 'U'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)