zoukankan
html css js c++ java
查询数据库中的所有表
Code
private
static
DataTable GetSqlDatabaseSchema(
string
strConn)
{
SqlConnection connection
=
new
SqlConnection(strConn);
DataTable schema
=
new
DataTable();
try
{
connection.Open();
schema
=
connection.GetSchema(
"
TABLES
"
);
}
catch
{
schema
=
null
;
}
finally
{
connection.Close();
}
return
schema;
}
TABLE_CATALOG
TABLE_SCHEMA
TABLE_NAME
TABLE_TYPE
DB
dbo
StatSystem
BASE TABLE
DB
dbo
Version
BASE TABLE
DB
dbo
Advertisement
BASE TABLE
DB
dbo
UserList
BASE TABLE
作者:
KKcat
出处:
http://jinzhao.cnblogs.com/
个人博客:
http://jinzhao.me/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
查看全文
相关阅读:
ActionBar认知
CSS动画-多列
CSS3动画效果
GreenDao数据库框架
Handler介绍
AsyncTask介绍
Android中IntentService的原理及使用
English interview!
第六章 结构
结构体中定义函数指针
原文地址:https://www.cnblogs.com/jinzhao/p/1533907.html
最新文章
第 10 章 容器监控
第 10 章 容器监控
第 10 章 容器监控
第 10 章 容器监控
第 10 章 容器监控
第 10 章 容器监控
第 10 章 容器监控
python替换一个文件里面的特定内容
利用随机森林进行特征重要性评估
读取csv忽略错误,保存csv不出现乱码
热门文章
python删除指定列
python分割pdf
python读取ppt
python合并CSV
python打印表头
python识别pdf:非OCR
python读取word
自定义ContentProvider
导入源码方法2
自定义RatingBar
Copyright © 2011-2022 走看看