ÓÃC#¿ª·¢ÅúÁ¿ACCESSÊý¾Ý¿âѹËõ³ÌÐò
ÏÂÃæ¸ø³öÁËʹÓÃC# ¿ª·¢µÄÒ»¸öѹËõACCESSÊý¾Ý¿âµÄ³ÌÐò
ÏñFolderBrowserDialog£¨ÓÃÓÚä¯ÀÀÑ¡ÔñÎļþ¼ÐµÄ¶Ô»°¿ò£©¡¢MessageBox£¨ÏûÏ¢´¦Àí¶Ô»°¿ò£©¡¢DirectoryInfo£¨Ä¿Â¼ÐÅÏ¢£¬¿ÉÓÃÓÚ´´½¨¡¢¼ì²âÊÇ·ñ´æÔڵȶÔĿ¼µÄ²Ù×÷£©¡¢FileInfo£¨ÎļþÐÅÏ¢£¬¿ÉÓÃÓÚÎļþµÄ¼ì²â¡¢ÎļþÐÅÏ¢µÄ»ñÈ¡¡¢¸´ÖƵȲÙ×÷£©¡¢DataGridView£¨Êý¾Ý±í¸ñ¿Ø¼þ£¬ÓÃÓÚÏÔʾÎļþÐÅÏ¢ÁбíÊý¾Ý£©¡¢DataRowView£¨¶ÔһЩÊý¾ÝÔ´ÐÅÏ¢½øÐÐɸѡ£¬ÅÅÐò£©¡¢System.Diagnostics.Process.Start£¨Æô¶¯ÆäËü³ÌÐò´ò¿ªÎļþ¼ÐĿ¼£©£¬ÏÂÃæ¾ÍÒÀ´Î½éÉÜÒ»ÏÂÔÚ´ËÈí¼þ¿ª·¢ÖÐÎÒ¶¼Ê¹Óõ½ÒÔÉϿؼþ¡¢¶ÔÏóµÄÄÄЩÄÚÈÝ¡£
Ò»¡¢FolderBrowserDialog£¨Îļþ¼Ðä¯ÀÀ¶Ô»°¿ò£©£¬ÔÚ´ËÈí¼þÖÐÓÃÓÚ´ò¿ªÑ¡ÔñÊý¾Ý¿â¸ùĿ¼»ò´ò¿ª´´½¨¡¢Ñ¡Ôñ±¸·ÝĿ¼£¬ÏÂÃæÊÇÁ½´¦Î»ÖõĴúÂëÏêϸ½éÉÜ¡£
1.Ñ¡ÔñÊý¾Ý¿âĿ¼£¬ÔÚ´Ë´¦²»ÐèҪн¨Îļþ¼Ð£¬Òò´ËÆÁ±Îн¨Îļþ¼Ð°´Å¥¡£
C#´úÂë
FolderBrowserDialog df = new FolderBrowserDialog();
//ÉèÖÃÎļþä¯ÀÀ¶Ô»°¿òÉϵÄÃèÊöÄÚÈÝ
df.Description = "Ñ¡ÔñËùÓÐÊý¾Ý¿âÎļþËùÔÚ¸ùĿ¼µØÖ·";
//²»ÏÔʾ¶Ô»°¿òÏ·½µÄ´´½¨ÐÂÎļþ¼Ð°´Å¥
df.ShowNewFolderButton = false;
/*
ÅжÏÊÇ·ñÒÑÖ±½ÓÊäÈëÎļþ¼ÐĿ¼µØÖ·£¬Èç¹û´æÔÚÔò½«´ËÖµ¸³ÓÚ¶Ô»°¿òµÄÒÑÑ¡µØÖ·£¬ÕâÑù¾Í¿ÉÒÔÈöԻ°¿òÏÔʾÄúÉÏ´ÎÑ¡Ôñ»òÌí¼ÓµÄĿ¼µØÖ·ÁË¡£
*/
if (tBoxDbRoot.Text != "")
{
df.SelectedPath = tBoxDbRoot.Text;
}
else
Ïà¹ØÎĵµ£º
Ò»¡¢ ÐèÇ󣺽«HTMLתPDF´òÓ¡¡£WebÏîÄ¿ÖÐ×ÜÊÇÓÐÕâÑùµÄÐèÇ󣬺ÜÊÇÈÃÈË¿àÄÕ¡£
¶þ¡¢ ·ÖÎö£ºÈçºÎÍê³ÉÕâ¸ö¹¤×÷£¿
1¡¢ ÐèÒª½âÎöHTML£¬È»ºóÀûÓÃitextsharp»æÖÆpdfÎĵµ¡£½âÎöHTMLÊÇÒ»¸öºÜÄÑÍê³ÉµÄÈÎÎñ£¬¸÷¸öä¯ÀÀÆ÷¶ÔHTMLµÄ½âÎöÎ廨°ËÞÍÖªµÀÕâ²»ºÃ½â¾ö¡£ÕâÌõ·²»ºÃ×ߣ¬µ«Ò²ÊÇ¿ÉÒÔÍê³ÉµÄ£¬Í¨¹ýwebbrowserÀà¿ÉÒÔ½âÎöHTML»ñÈ¡¸÷¶ÔÏóµ ......
1¡¢ÓÃMySQLDriverCSÁ¬½ÓMySQLÊý¾Ý¿â
ÏÈÏÂÔØºÍ°²×°MySQLDriverCS£¬µØÖ·£ºhttp://sourceforge.net/projects/mysqldrivercs/ÔÚ°²×°Îļþ¼ÐÏÂÃæÕÒµ½MySQLDriver.dll£¬È»ºó½«MySQLDriver.dllÌí¼ÓÒýÓõ½ÏîÄ¿ÖÐ×¢£ºÎÒÏÂÔØµÄÊǰ汾ÊÇ MySQLDriverCS-n-EasyQueryTools-4.0.1-DotNet2.0.exe using System;using System.Collectio ......
³£ÓõÄϵÁл¯¶¨Ò壨using System.Xml.Serialization;£©
[XmlAttribute("name")] // ¶¨Òå<Tag name="…"></Tag>
[XmlElement("label")] // ¶¨Òå<label>…</label>
[XmlIgnoreAttrib ......
ASP.NETÈçºÎÁ¬½ÓAccess»òSQL ServerÊý¾Ý¿â
Ê×ÏÈ¿´Ò»¸öÀý×Ó´úÂëÆ¬¶Ï:
³ÌÐò´úÂë:
--------------------------------------------------------------------------------
using System.Data;
using System.Data.OleDb;
......
string strConnection="Provider=Microsoft.Jet.OleDb.4.0;";
strConnection+ ......
http://www.cnblogs.com/byeday/archive/2009/10/04/1578034.html
ÎÊÌ⣺“Failed to access IIS metabase”½â¾ö
2009-08-14 17:03
ÔÒò£ºIISûÓÐ×¢²á
½â¾ö°ì·¨£º
ÔÚCMDÖнøÈëĿ¼C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727£¬ÔËÐÐaspnet_regiis
1¡¢aspnet_regiis -ga administrator£¨administratorΪµ ......