´úÂë±àд¹æ·¶ËµÃ÷Ê飨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 ......
/*
±¾¶Î´úÂëÔÚ¹«Ë¾ÏîÄ¿ÖÐʵ¼ÊÔ¶³Ìµ÷ÓõÚÈý·½¹«Ë¾ÌṩµÄC#¿ª·¢WebServiceµÄʾÀý
*/
/**
* µÇ¼ÓÎÏ·
*
* @param paramPN
* @param paramTerraceID
* @param paramSvrID
*/
private String loginGame(String paramPN, HttpServletRequest req){
&n ......
public void MyGetDepart()
{
string sSql = @"select DepartId,DepartName as 'Ç廪¸½ÖÐ',ParentId from sDepart";
DataTable table = CommClass.GetDataTable(sSql);//BoolDAL.DbHelper.GetDataTabl ......
http://hi.baidu.com/%E5%EB%B3%DF%C8%CB%C9%FA/blog/item/58a1540bbf0bb437b1351d9a.html
#region DataGridViewÊý¾ÝÏÔʾµ½Excel
/// <summary>
/// ´ò¿ªExcel²¢½«DataGridView¿Ø¼þÖÐÊý¾Ýµ¼³öµ½Excel
/// </summary>
/// <param name="dgv">DataGridView¶ÔÏó </param>
/// <param na ......
ÉúÃüÖÜÆÚ²½Öè¸ÅÀÀ
µ±ÎÒÃǶÔASP.NET MVCÍøÕ¾·¢³öÒ»¸öÇëÇóµÄʱºò£¬»á·¢Éú5¸öÖ÷Òª²½Ö裺
²½Öè1£º´´½¨RouteTable
µ±ASP.NETÓ¦ÓóÌÐòµÚÒ»´ÎÆô¶¯µÄʱºò²Å»á·¢ÉúµÚÒ»²½¡£RouteTable°ÑURLÓ³Éäµ½Handler¡£
²½Öè2£ºUrlRoutingModuleÀ¹½ØÇëÇó
µÚ¶þ²½ÔÚÎÒÃÇ·¢ÆðÇëÇóµÄʱºò·¢Éú¡£UrlRoutingModuleÀ¹½ØÁËÿһ¸öÇëÇó²¢ÇÒ´´½¨ºÍÖ´ÐкÏÊ ......