VB.net ACCESS - .NET¼¼Êõ / VB.NET
ÔÚ²éѯÊý¾Ý¿âÐÅϢʱ£¬Ìõ¼þÊǺÍÊý¾Ý¿âÀïµÄÊý×ÖÐÍ×ֶαȽϣ¬µ÷ÊÔʱ×ÜÊÇÖ´ÐÐʧ°Ü£¬Ëµ±ê×¼±í´ïʽÉϵÄÊý¾ÝÀàÐͲ»Æ¥Åä
²éѯÓï¾ä£º Serchstr = "SELECT Tablenum as ×ÀºÅ,Conperson as ÈÝÄÉÈËÊý, Status as µ±Ç°×´Ì¬,Roomum as ËùÊô·¿¼ä from TableInfo WHERE Conperson>= '" & Min & "' AND Conperson <= '" & Max & "'"
½ÓÊյıäÁ¿£ºMin = Me.NumericUpDown1.Value
Max = Me.NumericUpDown2.Value
¸÷λ¸ßÊÖ¸øСµÜÖ¸µãÏÂ
Me.NumericUpDown2.ValueµÄÖµÊÇÕûÐεİɣ¿
Conperson>= " & Min & "
Êǵģ¬ÕûÐÍ ÊDz»ÊÇҪǿÖÆת»»ÏºͿâÀï¶ÔÓ¦ÉÏÁË£¬²Å¿ÉÒÔ£¬Ôõôת»»
¾Í°´ÕÕ1¥˵µÄ£¬È¥µôµ¥ÒýºÅÊÔÊÔ¡£
¸Ðл¸ßÊÖÃÇ£¬³ÉÁË£¬ºÇºÇ
Ïà¹ØÎÊ´ð£º
ÓÐÒ»¸öÊý¾Ý¿âÀïÖ»ÓÐ2WÌõÊý¾Ý²»µ½£¬È´ÓÐ500MÄÇô´ó,Ôõô»ØÊ°¡£¿ÊÇACCESSµÄÊý¾Ý¿â¡£ºóÀ´ÎÒ°ÑACCESSµ¼Èëµ½MSSQLÖУ¬Ò²Õ¼ÓÃÁË500M×óÓҵĿռ䣬Èç¹ûѹËõÊý¾Ý¿âÄØ£¿Çë¸ßÊÖÖ¸µã
ѹËõÊý¾Ý¿â£¿ÄÜ×öµ½Ã´...
ÆÚ´ý¸ßÈËÖ¸µã ÎÒ ......
ÏÖÔÚÎÒÏë¸ù¾ÝtreeviewÉÏÿ¸ö½ÚµãµÄȨÏÞ£¬Ã»ÓÐȨÏ޵Ľڵ㲻Äܱ»Ñ¡ÖУ¬¶øÇҳɻÒÉ«£¬ÔõôʵÏÖ£¬ÔÚÏߵȡ£¡£¡£
Õâ¸ö£¿¡£¡£¡£
òËÆû·¨¡£
ÊÔÊÔÄܲ»ÄܸÄijЩnodeµÄÑÕÉ«£¬¼Ç¼ÏÂÉϴεÄnodeclickÀïµÄnode¡£
Ï´εã»÷µÄÈç¹ ......
Êý¾Ý¿âÀïÓÐÒ»¸ö×ֶεÄÄÚÈÝÊǶþ½øÖÆ£¬Ôõô²ÅÄÜ°ÑÕâ¸ö¶þ½øÖƶÁ³öÀ´
ʹÓÃ×Ö½ÚÁ÷¶ÔÏó¿ÉÒÔʵÏÖ
ÀýÈçÏÖÔÚÊý¾Ý¿âÀïÓиö×ֶεÄÄÚÈÝÊÇ0x504B03040A0000000800407F263C3B02465390000000820000000A0000006273CECACCE22E7478 ......
xmlDoc1.loadXML(h)×ÜÊÇ·µ»Øfalse£¬ÎªÊ²Ã´£¿Ð»Ð»°ïæ»Ø´ðÒ»ÏÂ
hÊÇʲôÄØ¡£¡£¡£¡£¡£¡£¡£¡£¡£
hÊÇxml¸ñʽµÄ×Ö·û´®
ÄãÊÇÏë´ò¿ª¡£XML¸ñʽµÄÎļþ°É£¿
ÎÒÊÇ°Ñh·ÅÔÚxmlDoc1ÀÓÃxmlDoc1.loadXML(h)£¬È»ºóÈ¡xmlDo ......
ÎÊÌ⣺
ÏÖÔÚAccessÊý¾Ý¿âÖÐÓÐÁ½ÕűíTableAºÍTableB
TableAÖÐÓмǼÈçÏÂ:
×Ö¶Î1(Name) ×Ö¶Î2(Num)
A 3
A 4
B 6
... ......