¹ØÓÚSQLµÄupdateÓï¾äµÄÎÊÌ⣿
sql = "update ¹ÉƱ set [»õ±Ò×ʽð]=" & hb & ",[³¤ÆÚ¸ºÕ®]=" & fz & ",[×ܹɱ¾]=" & zgb & " where [´úÂë]='000010' "
ÎҸijÉÁË
b="000010"
sql = "update ¹ÉƱ set [»õ±Ò×ʽð]=" & hb & ",[³¤ÆÚ¸ºÕ®]=" & fz & ",[×ܹɱ¾]=" & zgb & " where [´úÂë]=b "
µ«ÊÇÃ²ËÆÊ²Ã´µØ·½³ö´íÁË£¬Ò»Ö±²»ÄÜͨ¹ý£¬Çë¸ßÊÖÖ¸½Ì
ÒÔϹ©參¿¼£º
VB code:
sql = "update Info set OutPutDateTime ='" & Now & "',OutStorageUser='" & UCase(loginUser) & "',OutPutState='" & PassProduct.Caption & "',Flag='" & 1 & "' " & "where Barcode= '" & Barcode.Text & " '&q
Ïà¹ØÎÊ´ð£º
....½Óµ½Ò»¸öС³ÌÐò..¹¤×÷ÔÀ´´ó¸ÅÊÇÕâÑùµÄ...ǰ̨ÊÇWEB·þÎñÆ÷.¼Ü¹¹¾ÍÊÇASP+SQL..ǰ̨ÓÉASPÏòSQLÌí¼Ó·þÎñÀà±ð(±íµ¥).È»ºóÓÖºǫ́³ÌÐò¶ÁÈ¡±íµ¥..Ҫʵʱ¶ÁÈ¡..È»ºóÏÔʾÔÚ·þÎñÆ÷ÉÏÃæ..´ÓÀíÂÛÉÏÃæÄÜÐÐͨ²»?Èç¹û¿ÉÒÔ..ºǫ́ ......
ÏÖÔÚÓÐÁ½¸öÒì¹¹µÄsql serverÊý¾Ý¿â,ÎÒÏ뽫µÚÒ»¸ö±íÖеÄÊý¾Ýµ¼Èëµ½µÚ¶þ¸ö±íÖÐ,×Ô¼ºÖ¸¶¨µ¼ÈëÊý¾ÝµÄ×Ö¶Î,ÈçºÎµ¼ÈëÊý¾ÝÄØ,´ó¼ÒÌÖÂÛÒ»ÏÂ?
dts¹¤¾ß
µ¼Èëµ¼³ö¹¤¾ß.
DD
¹þ¹þ£¬¹À¼ÆÕâλÊǵØQIOU¶¼Êܲ»Á˵Ä
Ö±½ÓÐ ......
with adod_dict do
begin
close;
commandtext:='select bgqxcode,count(*) wjsl from wscl_wsda_file where wjnd=:tnd group by bgqxcode'; ......
PBÖпª·¢µÄ¡£
DateTime startTime=DateTime(em_1.Text)
DateTime endTime=DateTime(em_2.Text)
string sql
sql = dw_1.GetSQLSelect()+"Where (StartTime> '"+startTime+&q ......