摘要:
using ( SqlConnection conn = new SqlConnection ( source ) ) { // Open the connection conn.Open ( ) ; // Do something useful } 阅读全文
posted @ 2007-12-10 21:02 新人~ 阅读(1561) 评论(4) 推荐(0)
|
|||
|
摘要:
using ( SqlConnection conn = new SqlConnection ( source ) ) { // Open the connection conn.Open ( ) ; // Do something useful } 阅读全文
posted @ 2007-12-10 21:02 新人~ 阅读(1561) 评论(4) 推荐(0)
摘要:
商品 ¦---食品 ¦ ¦--肉类 ¦ ¦ ¦--猪肉 ¦ ¦--蔬菜类 ¦ ¦ ¦--白菜 ¦---电器 ¦ ¦--电视机 ¦ ¦--电冰箱 阅读全文
posted @ 2007-12-10 20:50 新人~ 阅读(1079) 评论(0) 推荐(0)
摘要:
Select IDENT_CURRENT ('Person.Address') //'Person.Address'为表名,注意表名要有单引号 阅读全文
posted @ 2007-12-10 20:40 新人~ 阅读(164) 评论(0) 推荐(0)
摘要:
SqlParameter[] par = new SqlParameter[2]; par[0] = new SqlParameter("@id", SqlDbType.Int); par[0].Value = id; par[1] = new SqlParameter("@count", SqlDbType.Int); par[1].Direction = ParameterDirection.Output; //设置为输出参数 阅读全文
posted @ 2007-12-10 20:38 新人~ 阅读(422) 评论(0) 推荐(0) |
|||