摘要:
DataTabledt=newDataTable();if(Cache["mytablecache"]==null){using(SqlConnectioncon=newSqlConnection("DataSource=.;InitialCatalog=LocalDB;IntegratedSecurity=True")){con.Open();SqlDataAdapteradapter=newSqlDataAdapter("SELECTtop100*FROM[Money_CostDetail]",con);adapter.Fill( 阅读全文