摘要:
1.获得列名 use database go select * from syscolumns where id=(select id from sysobjects where name='tablename') order by name 阅读全文
摘要:
1.获得列名 use database go select * from syscolumns where id=(select id from sysobjects where name='tablename') order by name 阅读全文
摘要:
//执行事务处理public void DoTran(){ //建立连接并打开 SqlConnection myConn=GetConn(); myConn.Open(); SqlCommand myComm=new SqlCommand(); //SqlTransaction myTran=new SqlTransaction(); //注意,SqlTransaction类无公开的构造函数... 阅读全文
|