Borland.Data.Db2.DB2Connection DB2Conn = new Borland.Data.Db2.DB2Connection();
int result = DB2Conn.Connect("EHRM","db2admin","davixiong","grd-build1");
Borland.Data.Db2.DB2Command DB2Cmd = new Borland.Data.Db2.DB2Command(DB2Conn);
result = DB2Cmd.Prepare("SELECT * FROM PSNACCOUNT",0);
Borland.Data.Common.ISQLCursor SqlCur = new Borland.Data.Db2.DB2Cursor(DB2Cmd);
short ResCols = 0;
result = DB2Cmd.Execute(out SqlCur,ref ResCols);