access»ñÈ¡×Ö¶ÎÃû - .NET¼¼Êõ / ASP.NET
ÔÚasp.netÖУ¬ÈçºÎͨ¹ý³ÌÐò»ñÈ¡accessÊý¾Ý¿âÖеÄ×Ö¶ÎÃû¡£ÎҵıíÃûÊǹ̶¨µÄ£¡ ÄܸøÎÒÍêÕû´úÂëÂ𣿻òÊÇ°¸Àý¡£¡£¡£
°Ù¶È£º¡¡C# access ×Ö¶ÎÃû SQL code: select name from syscolunms where object_id=object_id('yourtablename') order by colid //... //1µÚ¼¸ÁÐ string fd_name = myDataSet.Tables["Table_name"].Columns[1].Caption;ÒýÓà SQL code select name from syscolunms where object_id=object_id('yourtablename') order by colid Õâ¸öÔÚaccessÖв»ºÃÓà upupupupup DataTable dt; private OleDbConnection conn; conn = new OleDbConnection("Á¬½ÓÊý¾Ý¿â"); conn.Open(); conn.GetOleDbSchemaTable(OleDbSchemaGuid.Columns, new Object[] { null, null, TableName, null }); for(int i=0;i<dt.Rows.Count;i++) { dt.Rows[0]["COLUMN_NAME"].ToString(); } ÊÔÊÔ... ....................... 111111 oledb 連½Ó·½Ê½ ¿ÉÒÔÓà SqlConnection µÄGetOleDbSchemaTable·½·¨來獲È¡ËùÓеıíÃû 10樓ÒÑ經給³
Ïà¹ØÎÊ´ð£º
function CheckOpwd(){//ÑéÖ¤Óû§Ãû var pwd=document.all.txtOpwd; var div1=document.getElementById("divPwd"); if (pwd.value=="") { ......
ÊÇÕâÑù×ӵģ¬ÎÒÏÖÔÚ×öÁËÒ»¸öÍøÖ·µ¼º½µÄÍøÕ¾£¬Ê×ҳȫÊÇÍøÃûºÍÁ´½Ó£¬ÀàËÆhao123µÄÊ×Ò³£¬µ«ÊÇÓлáÔ±µÇ¼£¬»áÔ±µÇ¼ºó¿ÉÒÔÊ×´ÎÍøÕ¾£¬»áÔ±µÇ¼ºó»áÏÔʾÊղصÄÍøÕ¾³öÀ´£¬ÒòΪÊ×ҳͷ²¿Ï»áÓÐÒ»¸öÎÒµÄÊղصÄÀ¸Ä¿...ÏÖÔÚÿ´ò¿ ......
ʹÓÃACCESS×î´óµÄÒþ»¼¾ÍÊDz»°²È«¡£½ñÌì¶ÔACCESSÊý¾Ý¿âÉèÖÃÁËÒ»¸öÃÜÂ룬±ØÐëʹÓÃÃÜÂë²ÅÄÜ´ò¿ª£¬µ«ÊÇÔÚ³ÌÐòÖÐÈ´ÎÞ·¨Á¬½ÓÊý¾Ý¿âÁË¡£´ó¼ÒÖªµÀʹÓÃÓû§ÃûºÍÃÜÂ룬ÈçºÎÁ¬½ÓACCESSÊý¾Ý¿â£¿Ã²ËÆACCESSµÄÓû§Ãû»¹²»ÖªµÀ£¿Ö»Öª ......