vbʹÓÃpicturebox¿Ø¼þ
ÎÒÏëʹÓÃpicturebox¿Ø¼þ»Í¼ ÎÒµÄsqlÊý¾Ý¿âÖÐÊý¾Ý±íÃû×ÖÊÇudata£¬ÆäÖÐÓÐÁ½ÁУ¬Ò»ÁÐÊÇsdatetime£¬ÁíÒ»ÁÐÊÇdata¡£ÎÒÏëÓÃÆäÖеÄsdatetimeÁеÄÊýÖµ£¨Ê±¼ä£©×÷Ϊºá×ø±ê£¬dataÁеÄÊýÖµ£¨Êý¾Ý£©×÷Ϊ×Ý×ø±ê¡£ ÔÚÒ»¸öеÄformÖУ¬ÓÐÒ»¸öÃüÁî°´Å¥£¬µã»÷ÃüÁî°´Å¥£¬¾Í°Ñͼ»æÖƳö¡£ ´úÂ뾡Á¿Ïêϸ£¬¼ÓÉÏ×¢ÊÍ¡£ Ó¦¸ÃÔõô×öÄØ£¬Ð»Ð»´ó¼Ò£¬ÒªÊÇÄÜ×ö³öÀ´£¬ÎÒÔÙ×·¼Ó·ÖÊý¡£Ð»Ð»À²¡£ ÆäÖÐÕâ¸öÊý¾Ý±íµÄÊý¾Ý»¹ÊǼÌÐøÔö¼ÓµÄ£¬Ò²¾ÍÊǺá×ø±ê»¹ÊÇÔö¼ÓµÄ£¬Ð»Ð»À²
×ø±êÊǵ㣬µãÒªÁ¬½Ó£¿ÕÛÏßͼ£¿ Â¥Ö÷¿ÉÒÔÊÔÊÔMSChart¿Ø¼þÒýÓà ×ø±êÊǵ㣬µãÒªÁ¬½Ó£¿ÕÛÏßͼ£¿ ×ø±êÊǵ㣬°ÑµãÁ¬½ÓÆðÀ´£¬»³öÕÛÏßͼ¾ÍÐС£ÒýÓà ¥Ö÷¿ÉÒÔÊÔÊÔMSChart¿Ø¼þ mschartÎÒ²»Ì«»áÓà Private Sub Form_Load() Dim sql As String Dim sdata(1 To 15, 1 To 14) As Variant Dim rs As New Recordset Dim cn As New ADODB.Connection cn.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=sample;Data Source=." sql = "Select sdatetime,data from udata" 's = "Select sdatetime,data from udata" 'Set rs = GetRs(s) rs.Open sql, cn, adOpenStatic, adLockReadOnly If rs.RecordCount = 0 Then Exit Sub ReDim ss(rs.RecordCount) With mctChart .Row = 1 &n
Ïà¹ØÎÊ´ð£º
Ò»¸ö²éѯijÐÅÏ¢µÄASPÍøÒ³£¬Ìá½»²ÉÓõÄÊÇpost·½·¨£¬²éÕÒ½á¹ûµÄÍøÒ³±ØÐëÓÒ¼üµã»÷¡°²é¿´Ô´Îļþ¡±²ÅÄÜ¿´µ½ÕæÕý²éѯ½á¹ûÍøÒ³µÄÔ´´úÂ룬ÓÃä¯ÀÀÆ÷²Ëµ¥¿´µ½µÄÊDzéѯǰµÄÔ´´úÂë ÓÃVBÓÐʲô°ì·¨¿ÉÒÔ»ñÈ¡µ½Õâ¸ö²éѯºóµÄÔ´´ú ......
±ÈÈç½ø³Ì¼ÓÔØеijÌÐò¡£ ÔÚÆäÔËÐÐ֮ǰ×èÖ¹¡£ È»ºóÔÊÐíºó·ÅÐС£ ±ÈÈç³ÌÐòÖ÷Îļþ·¾¶ÊÇc:\test\test.exe£¬½¨Á¢ÄÚÈÝÈÎÒâµÄÎļþc:\test\test.exe.manifest¡£ ¾ÍÊDz»ÖªµÀ³ÌÐòÎļþ·¾¶¡£ ÉèÖ ......
Ë«ÖØËæ»ú Ôõôд ¾ÍÊÇËæ»ú³öÁËÒ»¸öÊý È»ºóÄÃÕâ¸öÊý×ù¿ªÍ·ÔÙËæ»úÒ»±é ±ÈÈç 1µ½10Ö®¼ä Ëæ»ú µÚÒ»´ÎÒÔ1¿ªÍ·10½áβ Ëæ»ú³öÒ»¸ö7 µÚ¶þ´Î¾ÍÊÇÒÔ7¿ªÍ·6½áβÔÙËæ»úÒ»±é ÄÇλ¿ÉÒÔ°ï¸öæ ÏÈллÁË 6½áβ Õâ¸öʲ ......
¶ÔÓÚEXCELÎļþµÄÄÚÈÝ£¬Ï£Íû°´ÕÕÒ»¶¨¸ñʽת»»ÎªxmlÎļþ£¬EXCELÄÚÈÝÀýÈ磺 Voucher_Id Oper Entry_Id ZhaiYao Acc_Code JieFang DaiFang fName1 fNeiRong1 fName2 fNeiRong2 1 Admin 1 ²âÊÔÕªÒª 540401 1000 ......
¿ÉÒÔÓÃrichtextbox £¬Ö÷ÒªÊÇÄÜÏÔʾrtfÎļþÖеĸñʽ£¬ÎÄ×ÖÑÕÉ«Ö®ÀàµÄ£¬Çë½Ì~ RichTextBox1.LoadFile "test.rtf" RichTextBox1.FileName = App.Path & "\test.rtf" Ó¦¸ÃÊÇ RichTex ......