參數化查詢,ADO.NET 底層將會處理 SQL 注入的問題 (需要SQL SERVER2005)使用下面的參數化查詢System.Data.SqlClient.SqlConnection cnn = new System.Data.SqlClient.SqlConnection("連接字串");System.Data.SqlClient.SqlCommand cm = new System.Data.SqlClient.SqlCommand();cm.Connection =
有時候,我們在調試時想知道某個特定通用類被那些別的類調用,此時,我們可以使用sun.reflect.Reflection.getCallerClass(2);來取得調用特定類的類名.例:我想知道那些類調用了GetMemory,可以這樣來做/* * Created on 2005-1-31 * */package com.tesge;/** * @author tesge * */public class GetMemory{ public
Crystal Reports is a welcome subjects for blog posts. I still do like the product, my users are very happy with the results, the report editor is not that bad to work with and the components integrate well into a solution. But Crystal documentation
Actually I do like Crystal Reports. It may not be perfect but the way it works with datasets, its grouping a selecting options and the web report viewer are very workable. Deploying Crystal Report to a web server is another story.When you test your
2005-1-30[.NET開發] Enterprise Library (PAG Documentation) # The patterns & practices Enterprise Library is a library of application blocks designed to assist developers with common enterprise development challenges. Application blocks are a type
//***主程式和DLL都帶包編譯, build with runtime packages。//vcl.bpl and so on..**************************** MDIMainForm ************************************/////////////////////////////////////////////////////////////////////////////////The base frame is
CMD命令 net use ipipc$ " " /user:" " 建立IPC空連結 net use ipipc$ "密碼" /user:"使用者名稱" 建立IPC非空連結 net use h: ipc$ "密碼" /user:"使用者名稱" 直接登陸後映射對方C:到本地為H: net use h: ipc$ 登陸後映射對方C:到本地為H: net use ipipc$ /del 刪除IPC連結 net use h: /del 刪除映射對方到本地的為H:的映射 net user 使用者名稱