VB¸øÊý¾Ý¿âÔö¼ÓÒ»Ìõ¼Ç¼
ÎÒÓÃVB¶Áȡij¹¤Òµ¹ý³Ì±äÁ¿£¬1¸öÊǶþ½øÖƵıäÁ¿a£¬Ò»¸öÊÇÕûÐεıäÁ¿b¡£
ÿ´Îµ±aΪ1ʱ£¬Ìí¼Ó a£¬b¼Ç¼µ½SQLÊý¾Ý¿âÖÐÒ»´Î¡£
ÔõÑù°ÑÕâ±äÁ¿Ìí¼Óµ½SQLÊý¾Ý¿âÖУ¨ÒѺÍÊý¾Ý¿âÁ¬½Ó£©
a,b¶¼ÊǶ¯Ì¬Êý¾Ý£¬Ôö¼Ó¼Ç¼µÄÓï¾äÔõôд£¿
strsql=" insert into mytable (fa,fb) values('" & a & "','" & b & "')"
if a=1 then
sql="insert into [table] (fa,fb) values (1,'" & b & "');"
end if
'×Ö¶ÎÀàÐÍΪ·ÇÎı¾Ê±£¬¸üв»ÄܼÓ''
sql=" insert into mytable (fa,fb) values(" & a & ",'" & b & "')"
strsql=" insert into mytable (fa,fb) values('" & a & "','" & b & "')"
Ïà¹ØÎÊ´ð£º
login.aspx.vb:
Public ReadOnly Property nameT() As String
Get
Return TextBox1.Text
&nb ......
Ò»¸ö²éѯijÐÅÏ¢µÄASPÍøÒ³£¬Ìá½»²ÉÓõÄÊÇpost·½·¨£¬²éÕÒ½á¹ûµÄÍøÒ³±ØÐëÓÒ¼üµã»÷¡°²é¿´Ô´Îļþ¡±²ÅÄÜ¿´µ½ÕæÕý²éѯ½á¹ûÍøÒ³µÄÔ´´úÂ룬ÓÃä¯ÀÀÆ÷²Ëµ¥¿´µ½µÄÊDzéѯǰµÄÔ´´úÂë
ÓÃVBÓÐʲô°ì·¨¿ÉÒÔ»ñÈ¡µ½Õâ¸ö²éѯºóµÄÔ´´ú ......
±ÈÈç½ø³Ì¼ÓÔØÐµijÌÐò¡£
ÔÚÆäÔËÐÐ֮ǰ×èÖ¹¡£
È»ºóÔÊÐíºó·ÅÐС£
±ÈÈç³ÌÐòÖ÷Îļþ·¾¶ÊÇc:\test\test.exe£¬½¨Á¢ÄÚÈÝÈÎÒâµÄÎļþc:\test\test.exe.manifest¡£
¾ÍÊDz»ÖªµÀ³ÌÐòÎļþ·¾¶¡£
ÉèÖ ......
TF1.text = " <_2_ZCHGZBH> " & MSFlexGrid1.TextMatrix(k, 1) & " </_2_ZCHGZBH> "
´ó¼ÒºÃ£¬ÎÒÓÃÉÏÃæÒ»¸ö¶«Î÷¸³Öµ TF1.text = & ......
ÔÚvbÕâ±à³ÌÀïËÆºõÓкܶàµÄ¶«Î÷ÊÇÏàÁªÏµµÄ£¬ÎªÊ²Ã´ÓÐЩÈ˶ÔvbµÄ±à³ÌÃþ²»µ½Í·ÄÔ°¡£¡²¢ÇÒÓÐЩʺÜÈÝÒ׵쬵«ÊÇÈ´°ÑËüÃǵĴúÂë±ä³É¸´ÔÓ£¬Ò²È¥ÏëһЩ²»ÄÜʵÏֵĶ«Î÷°¡£¡
û·ÖÁË£¬Â¥Ö÷¶àÀ´µã·Ö£¡
À´½Óµã·Ö
......