delphi µ÷Óô洢¹ý³Ì
Çë½Ì´ó¼ÒÒ»¸öÎÊÌ⣬delphi²»Óÿؼþµ÷ÓÃSQL SERVER´æ´¢¹ý³Ì¡£ ÈçÏÂÃæÓï¾ä£º
....//Ç°ÃæµÄÓï¾äÎÒ¾ÍÊ¡ÂÔÁË
strSQL:='UP_READREQ '+''''+strApplyID+''''+,+strNo+','+''''+ReceiverName+''''; //µ÷Óà ´æ´¢¹ý³Ì
qrySP.close;
qrySP.DatabaseName:='DB';
qrySP.SQL.Text:=strSQL;
try
qrySP.ExecSQL;
except
showmessage('µ÷Óùý³Ì²»³É¹¦');
end£»
......//ºóÃæµÄÎÒҲʡÂÔÁË
ÇëÎÊÎÒÕâÑùµ÷ÓÃSQL SERVER´æ´¢¹ý³Ì£¬²»¼ÓcommitÐÐÂ𣿠Èç¹ûÒª¼Ó¸ÃÔõôдÄØ£¿Ö±½Ó¼ÓÔÚÓï¾äºóÃæÂð£¿
лл´ó¼Ò£¡
commitÊÇÓÃÓÚÊÂÎñµÄ~~
adoconnection1.BeginTrans;
try
.....
.....
adoconnection1.CommitTrans;
finally
adoconnection1.RollbackTrans;
end;
Óï¾äºÃÏñ»¹Ã»¼Ó exec
strSQL:=' exec UP_READREQ '+''''+strApplyID+''''+,+strNo+','+''''+ReceiverName+'''';
strSQL:=' exec UP_READREQ '+''''+strApplyID+''''+,+strNo+','+''''+ReceiverName+'''';
qrySP.close;
qrySP.DatabaseName:='DB';
qrySP.SQL.Text:=strSQL;
try
&nbs
Ïà¹ØÎÊ´ð£º
ÈçÌâ¡£
¸Ð¾õÈçºÎ£¿½»Á÷Ï¡£
ûÓÐÑо¿¹ý£¬ºÇºÇ
ÓÐɶÑо¿Í·£¿
ÄǸö¶«Î÷£¬ÊǸö¼¦Àߣ¬£¬Ã»ÓÐʲôÒâ˼£¬·¢ÏÖ£¡£¡
ÓÃÀ´×öB/S¼Ü¹¹µÄMISϵͳµÄ»°Ó¦¸Ã¿ÉÒÔÌá¸ß½çÃ濪·¢µÄЧÂÊ°É£¿
ÒòΪ²»ÊìϤDelphi £ ......
delphiÄÚÖõļÓÃܽâÃܵ¥ÔªÊÇÄĸö£¿
DelphiÓÐÄÚÖüÓÃܽâÃܵ¥Ôª£¿
delphiÀïÓиö¼ÓÃܺͽâÃܵĵ¥Ôª
ÒýÓÃ
delphiÀïÓиö¼ÓÃܺͽâÃܵĵ¥Ôª
ÊÇÄĸö£¿
windowsµÄapi£¿
±ê×¼¼ÓÃܵÄÔ´´úÂ룬ÍøÉÏ ......
Õâ¸öÊÇÀ¹½Ø°´¼üÏûÏ¢²¢²âÊÔÊÇ·ñΪENTER¼ü¡£
begin
case wParam of
WM_KEYDOWN:
fEatKeystroke := (p.vkCode = VK_RETURN);
& ......
´ó¼Ò°ï¿´Ï Õâ¸öͼƬÖÐ ÏÔʾµÄÊÇʲô£¬Ë«»÷¿ÉÒÔ´ò¿ªÒ»¸ö´°Ì壬µ«´°Ìåʱ¹Ì¶¨µÄ£¬Õâ¸ö¶«Î÷ÓÐʲôÓà ллÁË
http://hi.csdn.net/space-2158731-do-album-picid-427006.html
ͼƬûÏÔʾ³öÀ´
......
1¡¢DELPHIÖÐNEWÒ»¸öApplication£¬ÔËÐÐÆðÀ´µÄʱºò¿ÉÒÔÔÚÈÎÎñ¹ÜÀíÆ÷Öв鿴µ½Õâ¸öproject1.exeµÄÏß³ÌÊýΪ3£¬ÎÒÏëÖªµÀÕâÈý¸öÏ̷ֱ߳ðÊÇʲô£¬ÔÚʲôÇé¿öÏ´´½¨µÄ?
2¡¢Èç¹ûÎÒµ±Ç°´ò¿ªÁËN¸öDELPHI»·¾³£¬ÕâʱºòÎÒÏëͨ¹ýË ......