delphi mysqlÎÊÌâ - Delphi / Êý¾Ý¿âÏà¹Ø
adoconnection1.ConnectionString := 'driver={MySQL ODBC 3.51 Driver};server=localhost;uid=root;pwd=111111;database=xiamen';
adoconnection1.Open;
adodataset1.Connection := adoconnection1;
adodataset1.Active := false;
adodataset1.CommandText := 'select * from blh5_operation_list limit 10';
adodataset1.Active := true;
adodataset1.Append;
adodataset1.FieldByName('op_state').AsInteger := 0;
adodataset1.UpdateBatch();
ÉÏÃæ´úÂëÖÐ adodataset1.FieldByName('op_state').AsInteger := 0;ÕâÒ»¾äÊÇʲôÒâ˼£¬ÓÐʲô×÷Ó㬱íÖж¨Òåop_state×Ö¶ÎÊÇop_state` tinyint(1) NOT NULL default '0', Ö´Ðкó±¨Òì³££¬Field 'paras' doesn't have a default value;
Äĸö¸ßÊÖÖªµÀÊÇʲôÒâ˼£¿£¿
ÔÎÁË£¬Ã»¿´Çå³þ£¬±íÀïÃæµÄparasÕâ¸ö×Ö¶ÎûÓÐĬÈÏÖµµÄ
Ïà¹ØÎÊ´ð£º
ÎÒÒѾ°´Õս̳ÌÉÏÅäÖÃtomcatµÄserver.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......
³ÌÐòʹÓõÄÊÇOrcalÊý¾Ý¿â£¬Ï붨ÆÚ£¨Ã¿¼¾¶È£©¶ÔÊý¾Ý¿â½øÐб¸·Ý£¬Ã»É¶Í·Ð÷£¬ÇëÎÊÓ¦¸ÃÔõôŪ£¿
ÓÐʲôÌØÊâÒªÇóÂ𣬱ÈÈçҪǰ¶Ë½çÃ棿
Ò»°ãÓÃÊý¾Ý¿â×Ô´øµÄ¡°¼Æ»®ÈÎÎñ¡±ÅäÖÃһϾ͹»ÁË
ûÓÐʲôÌØÊâÒªÇó¡£ÀýÈ磬ֻҪµ ......
Àý×Ó³ÌÐò¼û¸½¼þ£¬ÓÃDelphi 7½øÐбàÒë
ÎÊÌâ´úÂëΪ
Delphi(Pascal) code:
if Node.ChildNodes <> nil then
begin
for i := 0 to Node.ChildNodes.Count - 1 do
begin
cNode := N ......
var
FXmlDoc:IXMLDomDocument;
begin
ʹÓÃFXmlDoc.save('Îļþ·¾¶')£»
½á¹û·¢ÏÖ±£´æºóµÄ¸ÃÎļþÖÐÎÄÈ«²¿ÎªÂÒÂ룬ÈçºÎ½â¾ö
end£»
²Î¿¼Õâ¸ö
http://blog.csdn.net/jiangnanandi/archive/2008/11/28/3399804.aspx ......
1¡¢ÊDz»ÊÇPHPÖÐÖ»ÄÜʹÓÃmysql_query("update user_aa set money=money2-".$bpanmm." where uid=".$userppp);¸üÐÂÊý¾Ý£¿£¿£¿
2¡¢PHP¸üÐÂmysql_fetch_row($res)Óëmysql_fetch_array($res)ÖеÄÊý¾ ......