´úÂë±àд¹æ·¶ËµÃ÷Ê飨c#.netÓëasp.net£©
1 Ä¿µÄ
2 ·¶Î§
3 ×¢Ê͹淶
3.1 ¸ÅÊö
3.2 ×Ô½¨´úÂëÎļþ×¢ÊÍ
3.3 Ä£¿é£¨ÀࣩעÊÍ
3.4 ÀàÊôÐÔ×¢ÊÍ
3.5 ·½·¨×¢ÊÍ
3.6 ´úÂë¼ä×¢ÊÍ
4 ÃüÃû×ÜÌå¹æÔò
5 ÃüÃû¹æ·¶
5.1 ±äÁ¿£¨Variable£©ÃüÃû
5.2 ³£Á¿ÃüÃû
5.3 ÀࣨClass£©ÃüÃû
5.4 ½Ó¿Ú£¨Interface£©ÃüÃû
5.5 ·½·¨£¨Method£©ÃüÃû
5.6 Ãû³Æ¿Õ¼äNamespace£©ÃüÃû
6 ±àÂë¹æÔò
6.1 ´íÎó¼ì²é¹æÔò
6.2 ´óÀ¨ºÅ¹æÔò
6.3 Ëõ½ø¹æÔò
6.4 СÀ¨ºÅ¹æÔò
6.5 If Then Else¹æÔò
6.6 ±È½Ï¹æÔò
6.7 Case¹æÔò
6.8 ¶ÔÆë¹æÔò
6.9 µ¥Óï¾ä¹æÔò
6.10 µ¥Ò»¹¦ÄܹæÔò
6.11 ¼òµ¥¹¦ÄܹæÔò
6.12 Ã÷È·Ìõ¼þ¹æÔò
6.13 Ñ¡ÓÃFALSE¹æÔò
6.14 ¶ÀÁ¢¸³Öµ¹æÔò
6.15 ¶¨Òå³£Á¿¹æÔò
6.16 Ä£¿é»¯¹æÔò
6.17 ½»Á÷¹æÔò
7 ±à³Ì×¼Ôò
7.1 ±äÁ¿Ê¹ÓÃ
7.2 Êý¾Ý¿â²Ù×÷
7.3 ¶ÔÏóʹÓÃ
7.4 Ä£¿éÉè¼ÆÔÔò
7.5 ½á¹¹»¯ÒªÇó
7.6 º¯Êý·µ»ØÖµÔÔò
8 ´úÂë°ü¹æ·¶
8.1 ´úÂë°üµÄ°æ±¾ºÅ
8.2 ´úÂë°üµÄ±êʶ
9 ´úÂëµÄ¿ØÖÆ
9.1 ´úÂë¿â/Ŀ¼µÄ½¨Á¢
9.2 ´úÂë¹éµµ
10 ÊäÈë¿ØÖÆУÑé¹æÔò
10.1 µÇ½¿ØÖÆ
10.2 
Ïà¹ØÎĵµ£º
ÏÂÃæÊÇcommond:
MySQLCommand cmd;
cmd = new MySQLDriverCS.MySQLCommand("DROP TABLE IF EXISTS test.mysqldrivercs_test",conn);
cmd.ExecuteNonQuery();
cmd.Dispose();
ÏÂÃæÊÇinsert:
string Value = "Value";
int SettingID = 1;
new MySQLInsertCommand(conn,
new object[,] {{"SettingID",SettingID},{"S ......
¼´Ê¹ÎÒ½«Êý¾Ý¿â·ÅÔÚÏîÄ¿ÄÚ½¨µÄÎļþ¼ÐdbÏ£¬¿ÉÊǽøÐд洢²Ù×÷µÄʱºò£¬Êý¾Ý±íûÓÐÈκα仯¡£ºóÀ´·¢ÏÖ´¢´æ¸Ä±ä·¢ÉúÔÚbin\\debug\\dbĿ¼ÏµÄÊý¾Ý¿âÖУ¬Õâ¸öÊý¾Ý¿âÊÇÔÚ³ÌÐòÔËÐÐʱ×Ô¶¯¸´ÖƹýÈ¥µÄ£¬¿ÉÊÇΪʲô´æ´¢±ä»¯Ã»Óз´Ó¦µ½ÍâÃæÏîÄ¿ÄÚµÄÊý¾Ý¿âdbÏÂÄØ£¿ÎÒÏëÁ¬½Ó×Ö·û´®ÖÐdatasourceÖеÄdatadirectory´æÔÚһЩÐþ»ú£¬ÓÚÊÇÎÒÕÒµ½Ò ......
public static void Main()
{
WebRequest req = WebRequest.Create("http://blog.csdn.net/xiaofengsheng");
try
& ......
Asp.netÖеÄÈÕÆÚ´¦Àíº¯Êý
//2007Äê4ÔÂ24ÈÕ
this.TextBox6.Text = System.DateTime.Now.ToString("D");
//2007-4-24
this.TextBox7.Text = System.DateTime.Now.ToString("d");
&nb ......