Çó¾È£¬C#+ACCESSÓÃÒ»¶Îʱ¼ä¾Í³ö´í - .NET¼¼Êõ / C#
¸÷λ´ó¸ç´ó½ã£¬ÎÒ×öµÄµ¥Î»µÄÒ»¸ö¼òµ¥µÄ°ì¹«ÏµÍ³ÓÃÒ»¶Îʱ¼ä£¨»òÐíÒ»¶þ¸öÐÇÆÚ¡¢»òÐíÈýÎåÌì²»¶¨ÆÚ£©³öÏÖ´íÎ󣬲»ÖªÈçºÎ½â¾ö£¨ÖØÆô·þÎñÆ÷ºóÕý³££©Çë¸÷λ°ï°ï棬лл¡£
ÒÔÏÂÊÇIEÉÏÏÔʾµÄ´íÎóÐÅÏ¢£º
//////////////////////////////////////////////////////////////////////
Server Error in '/oa' Application.
--------------------------------------------------------------------------------
δָ¶¨µÄ´íÎó
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: δָ¶¨µÄ´íÎó
Source Error:
Line 60: string connstr="Provider=MicroSoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("#sdfsdf44564sfds3f45sdfwefs36sdfsdfd.mdb");
Line 61: conn=new OleDbConnection(connstr);
Line 62: conn.Open();
Line 63: string sqlstr="select * from members where Usernames='"+yhm.Text+"' and Userpwd='"+mm.Text+"'";
Line 64: cmd=new OleDbCommand(sqlstr,conn);
Source File: d:\oa\default.aspx Line: 62
Stack Trace:
[OleDbException (0x80004005): δָ¶¨µÄ´íÎó]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +271
System.D
Ïà¹ØÎÊ´ð£º
ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......
¹«Ë¾¿ª·¢Ò»¸ö´¥ÃþÆÁ³ÌÐò£¬ÎÒ¸ºÔðµÄÒ»¿é£¬ÊµÏÖÕâÑùÒ»¸ö¹¦ÄÜ£¬µ±Êó±êµã»÷´°¿ÚÖÐͼƬ£¨Ò»ÕÅͼ·Ö³É¼¸²¿·Ö£©µÄÆäÖÐÒ»²¿·Öʱ£¬½«Õⲿ·ÖͼƬ½ØÈ¡³öÀ´£¬µ¯³öеĴ°¿Ú£¬½«½ØÈ¡³öµÄͼƬÏÔʾ³öÀ´¡£ÎÒʹÓÃRectangeÀà¿ØÖÆÁË·µ»Ø£¬ ......
ÎÒ¸Õ°ÑÌ·ºÆÇ¿µÄµÚÈý°æµÄÊéѧÍ꣬ÎÒÖªµÀµÄÓÐC++£¬CºÍÖ¸Õë CȱÏݺÍÏÝÚå Cר¼Ò±ä³É£¬»¹ÓÐÊý¾Ý½á¹¹£¬ÎÒÏëÎÊÎÊÎÒÓ¦¸ÃÒÔʲô˳ÐòÀ´Ñ§ÄØ
CȱÏݺÍÏÝÚå Cר¼Ò±à³Ì
Êǽø½×µÄ£¬²»Óü±×Å¿´
ÖÁÓÚ
CºÍÖ¸Õë
Äã²»Àí½âÖ ......
ÈçºÎ½«Ò»¸öListBoxÖеÄÊý¾Ý´æÔÚÊý¾Ý¿âÖеÄÒ»¸ö×Ö¶ÎÏÂÃ棬²¢ÇÒÿÌõ¼Ç¼µÄ×Ö·û´®¸öÊý²»Ò»¶¨ ÒÔ¼°ÈçºÎ´ÓÊý¾Ý¿âÖжÁÈ¡¸ÃListBoxÖеÄËùÓмǼ
C/C++ code:
//´æÈëÊý¾Ý¿â
void __fastcall TForm1::Button5Click(TO ......
[align=center][/align]CÓïÑÔÖÐÈçºÎÅжÏÒ»¸ödoubleÐ͵ÄÊý×飨Èçdouble S[20]£»£©ÊÇÒ»¸ö¿ÕÊý×飬¼´Êý×éÖÐûÓзÅÈκÎÖµ¡£
û°ì·¨¡£
"ÈκÎÖµ" µÄ¶¨Òå?
¾ÍÊÇÊý×éÊǿյģ¬Ã»ÓÐΪËü¸³Öµ
¿ÉÒÔ¿¼Â ......