ÓÃ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
Ïà¹ØÎĵµ£º
XMLÎļþ×÷ΪÊý¾ÝÊý¾Ý´æ´¢½éÖʵÄÒ»ÖÖ£¬ºÃ´¦ÔÚÓÚ£ºÈκεÄϵͳ¾ù¿ÉÒÔ½âÎöËü¡£
XMLÈ«³Æ£ºExtensible Markup Language£¨À©Õ¹±ê¼ÇÓïÑÔ£©Ê¹ÓÃÎĵµÀàÐͶ¨Ò壨DTD£©»òÕßģʽ£¨Schema£©À´ÃèÊöÊý¾ÝµÄ¡£¿É¹©ÈËÔĶÁ£¬¶øÇÒ»¹»ùÓÚÒ»ÖÖ¹«¹²µÄ¿ª·¢±ê×¼¡£
×î½üÓÉÓÚ¿ª·¢µÄÐèÒª£¬Ò²ÊÇÑо¿ÒÔÏÂXMLµÄ²Ù×÷£¬±¾ÆªÈÕÖ¾Ö÷Òª×ܽáC#.NETÖÐÊÇÈçºÎ²Ù×÷XM ......
Ò»¡¢ SQL SERVER ºÍACCESSµÄÊý¾Ýµ¼Èëµ¼³ö
³£¹æµÄÊý¾Ýµ¼Èëµ¼³ö£º
ʹÓÃDTSÏòµ¼Ç¨ÒÆÄãµÄAccessÊý¾Ýµ½SQL Server£¬Äã¿ÉÒÔʹÓÃÕâЩ²½Öè:
¡¡¡¡1ÔÚSQL SERVERÆóÒµ¹ÜÀíÆ÷ÖеÄTools£¨¹¤¾ß£©²Ëµ¥ÉÏ£¬Ñ¡ÔñData Transformation
¡¡¡¡2Services£¨Êý¾Ýת»»·þÎñ£©£¬È»ºó ......
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 ......
asaxÎļþ£º
¡¡¡¡<%@ Control Language="c#" AutoEventWireup="false" Codebehind="counter.ascx.cs" Inherits="JiAnWeb.counter" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
¡¡¡¡<LINK href="css.css" rel="stylesheet">
¡¡¡¡<FONT face="ËÎÌå">
¡¡¡¡<TABLE id="table_coun ......
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Ϊµ ......