vb sqlÓï¾äÁ¬½ÓÎÊÌâ
Èô£º ÓÐSQL Óï¾ä select * from admin where id='"& text1.text &"' and tel='"& text2.text &"' and no='"& text3.text &"'
Ôõô°ÑÕâÓï¾ä¸ø²ð·ÖÁË¡£ д³É select * from admin where id='"& text1.text &"' Ò»¾ä and tel='"& text2.text &"' Ò»¾ä and no='"& text3.text &"'
Ò»¾äµÄÐÎʽ¡£ÓÃÁ¬×Ö·ûÁ¬½ÓµÄ····
strsql="select * from admin where id='"& text1.text &"' and tel='"& text2.text &"' and no='"& text3.text &"'"
***********************************
strsql= ="select * from admin where id='"& text1.text &"'"
strsql=strsql & " and tel='"& text2.text &"' "
strsql=strsql & " and no='"& text3.text &"' "
»òÕß
strsql="select * from admin where id='"& text1.text &"'" & _
" and tel='"& text2.text &"' " & _
" and no='"& text3.text &"'"
²»ÖªÂ¥Ö÷ÊDz»ÊÇÕâ¸öÒâ˼
select * from adm
Ïà¹ØÎÊ´ð£º
Ö´ÐеÄ˳Ðò£º
1£©Îļþä¯ÀÀ¿ò£¨Ñ¡ÔñÎļþʹÓã©
Ñ¡ÔñºÃÎļþºó
µã»÷Ò»¸öµ¼Èë°´Å¥µÄʱºò £¬°ÑÉÏÃæÉÏ´«¿òÀïµÄcsvÎļþÒÔÒ»¸öIDΪÎļþÃû£¬ÉÏ´«µ½**/**Îļþ¼ÐÏÂ
2£©¶ÁÈ¡Õâ¸öÎļþ¼ÐϵÄcsvµÄÎļþ£¬×ª»»³Ésql
3 ......
select convert(varchar(50),cast(convert(numeric(18,2),1275674000000/100000000)as real))+'ÒÚ'
select cast(convert(numeric(18,2),1275674000000/100000000)as real)
ΪʲôÉÏÒ»¸öÓÃvarcharת»»ºó¾ÍÖ»±£ÁôÁËÒ ......
ÔÊý¾Ý
ÉÌÆ· Ô¼Û ´òÕÛ·½Ê½1 ÕÛ¿Û1 ´òÕÛ·½Ê½2 ÕÛ¿Û2
±Ê¼Ç±¾ 10000 NULL 0 NULL&nb ......
ÎÒÓÃDelphiдÁËÒ»¸öDLL, DLLÀïÓÐMDIµÄ×Ó´°Ìå,DLL³õʼ»¯Ê± ´«µÝµ÷ÓÃÕßµÄTApplication¸øDLL, ÔÚDelphi7Öе÷ÓÃÒѾͨ¹ý,µ«ÊDz»ÖªµÀÔÚVBÖÐÓÐÎÞTApplication¶ÔÓ¦ÀàÐÍ, ÊÇ·ñÄÜÔÚVBÖе÷ÓÃ?
ÄãºÃ£¬ÓÃinstance²»ÊǾͿÉÒÔÁË ......