重寫了微軟提供SQLHelper(共用的數據庫調用接口) 1把SqlHelper的connectionString做成一個全局量,統一設置數據庫連接字符串 2增加了返回特定表名的DataSet的各接口。 可在項目的config文件設置數據庫連接字符串 private static string connectionString = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"] <!-- application specific settings --> <appSettings> <add key="ConnectionString" value="packet size=4096 user id=sa data source=localhost persist security info=True initial catalog=NorthWind password= "/> </appSettings> 當然可以把數據庫連接方法修改后直接用。
標簽: connectionString SQLHelper SqlHelper 微軟
上傳時間: 2013-12-12
上傳用戶:釣鰲牧馬
isp1160_isa_evel_codeUSB主機軟件,可驅動打印機,音頻設備,鼠標? size=80>
標簽: isa_evel_codeUSB 1160 isp 主機
上傳時間: 2015-02-21
上傳用戶:semi1981
Client/Server版本 DBISAM compiles directly into your application with no external libraries required. Runtime package support is also provided if so desired. It has a very small footprint and does not require any forms support in Delphi 6, C++Builder 6, and Kylix 2 and higher, which helps keep the size of non-UI applications like services or web applications to a minimum.
標簽: application libraries compiles directly
上傳時間: 2015-04-04
上傳用戶:sz_hjbf
BREW手機平臺下的實例,實現蘋果的移動。 通過按鍵盤的 “UP”、“Down”、“Left”、“Right”使整個蘋果可以在屏幕上自由移動(Step=1),通過按“*”使蘋果回到初始位置(屏幕的中間) 1,蘋果是由4個對象組合而成,移動的時候如何成為一個整體 2、作為key事件驅動區分各個按鍵動作 3、蘋果的每一次移動都是以上一次蘋果的位置為參考
上傳時間: 2015-04-10
上傳用戶:佳期如夢
在C語言中,可以用keep ( )函數將程序駐留內存。這個函數有兩個參數:status和size。size為駐留內存長度,可以用size=_SS+_SP/16-_psp得到,當然這也是一種估算的方法,并不是精確值。函數執行完以后,出口狀態信息保存在status中。比如,對于上面的例子,將“geninterrupt (0x60) ”改寫成“keep(0,_SS+_SP/16-_psp) ”后再執行程序,這一段程序就被駐留,此后在其它的任何軟件或程序設計中,只要用到了60H號中斷,就會在屏幕上顯示“This is an example!”的字樣。要恢復系統對60H號中斷的定義,只能重新啟動計算機。
標簽: C語言
上傳時間: 2015-05-01
上傳用戶:yd19890720
ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and printed both to the console and to an output file. • Assume a file with correct data (no garbage, characters, etc.). • you must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either “0” , or when the size is greater than the maximum handled of “5” . In these 2 cases you must implement the following behaviour: o If size = 0, then print a message “Size = 0 is unacceptable” and continue by reading the next size for the next 2 matrices (if not end of file). o If size >5, then print two messages: “Size is too big - unacceptable”. Then read and discard the next (size2 ) integers and continue by reading the next size for the next 2 matrices (if not end of file).
標簽: multiplication Implement matrices matrix
上傳時間: 2014-08-30
上傳用戶:dsgkjgkjg
Easy installation Support servers like Tomcat, Resin, WebSphere, WebLogic etc. Multi-languages(English/Chinese...) Support RSS 2.0 RSS syndication Unlimited XML news source Customizable fetch time interval Customizable max entry count Customizable max content size
標簽: Multi-languages installation WebSphere WebLogic
上傳時間: 2014-01-03
上傳用戶:懶龍1988
Although there has been a lot of AVL tree libraries available now, nearly all of them are meant to work in the random access memory(RAM). Some of them do provide some mechanism for dumping the whole tree into a file and loading it back to the memory in order to make data in that tree persistent. It serves well when there s just small amount of data. When the tree is somewhat bigger, the dumping/loading process could take a lengthy time and makes your mission-critical program less efficient. How about an AVL tree that can directly use the disk for data storage ? If there s something like that, we won t need to read through the whole tree in order to pick up just a little bit imformation(a node), but read only the sectors that are neccssary for locating a certain node and the sectors in which that node lies. This is my initial motivation for writing a storage-media independent AVL Tree. However, as you step forth, you would find that it not only works fine with disks but also fine with memorys, too.
標簽: available libraries Although nearly
上傳時間: 2014-01-22
上傳用戶:zhoujunzhen
This zip file shows the use ROM Services in order to speed up an application and reduce its code size. It shows how to open services such as ROM Entry, Xmodem and DataFlash and how to simply use their methods. Includes main.html file for help.
標簽: application Services reduce shows
上傳時間: 2014-11-02
上傳用戶:66666
This zip file shows the use ROM Services in order to speed up an application and reduce its code size. It shows how to load a method of the Xmodem service and obtain a first level bootloader. Includes main.html file for help.
標簽: application Services reduce shows
上傳時間: 2013-12-06
上傳用戶:我們的船長