Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C#ʵÏÖÏóASPÖеÄÊý¾ÝÌí¼Ó

ÎÒÏëÓÃC#ʵÏÖÏóASPÖеÄ
rs.addnew
rs( "a ")   =   "aaa "
rs( "b ")   =   123
rs.update
ÕâÑù·½·¨Ìí¼ÓÊý¾Ý£¬ÎÊһϣ¬ÒªÔõô×ö°¡£¿
¾ßÌå·½·¨ÈçÏÂ
              string   dbPath   =   "../App_data/WebSeven.mdb ";
                string   db   =   Server.MapPath(dbPath);
                string   connectionString   =   "Provider=Microsoft.Jet.OLEDB.4.0;Data   Source= "   +   db;
                string   strSQL   =   "SELECT   [Svn_title],Svn_Content   from   [Svn_Product] ";
                OleDbConnection   conn   =   new   OleDbConnection(connectionString);
                OleDbDataAdapter   da   =   new   OleDbDataAdapter(strSQL,   conn);
                OleDbCommandBuilder   cb   =   new   OleDbCommandBuilder(da);
                DataSet   ds   =   new   DataSet();
                da.Fill(ds,   "List ");
                //¼Ç¼µÄ¸üÐÂ
                //   DataRow   dr   =   ds.Tables[ "List "].Rows[1];
                //
                //   dr.BeginEdit();
                //   dr[ "CustomerID "]   =   "******** ";
                //   dr[ "Address "]   =   "------ ";
&nbs


Ïà¹ØÎĵµ£º

Éý»ªÌṩÖÕÉíÃâ·ÑASP+access PHP+mysqlÐéÄâÖ÷»ú

Éý»ªÌṩÖÕÉíÃâ·ÑASP+access PHP+mysqlÐéÄâÖ÷»ú
Ò»£ºÉý»ªÍøÂç¿Æ¼¼ÓÐÏÞ¹«Ë¾,ÓëÉý»ªÍ¬ÔÚÕ¾³¤ÖÕÉíÃâ·Ñ¿Õ¼ä·ö³Ö¼Æ»®.
1¡¢×ð¾´µÄÓû§ÄúºÃ,Ò²ÐíÄú»¹ÔÚΪÿÄêÒ»½»µÄ¿Õ¼ä·ÑÓ÷¢³î,Ò²ÐíÄúÏë»ñµÃÒ»¸ö¸üÓÅÖʵĿռäÈ´²»ÏëͶÈëÌ«¶à,´ÓÏÖÔÚÆð ÕâЩÎÊÌ⽫ӭÈжø½â→Éý»ªÍøÂç←ÓëÉý»ªÍ¬ÔÚÕ¾³¤·ö³Ö¼Æ»®È«ÃæÆô¶¯¡£
2¡¢Ã»ÓÐ×¢²á¹«Ë¾ ......

asp³¤ÎÄÕ·ÖÒ³ÊÕ¼¯´æµµ

<%
if Request.QueryString("pageNo")="" then
PageNo=1
elseif IsNumeric(Request.QueryString("pageNo"))=false then
PageNo=1
else
PageNo=clng(Request.QueryString("pageNo"))
end if
´ò¿ªÊý¾Ý±í..²»Ð´Á˹þ.
set rs=server.CreateObject("adodb.recordset")
sql="............"
rs.open sql, ......

»ñÈ¡ÕæʵIPºÍ´úÀíIP (asp.net C#)

³ÌÐò´úÂë
public static string GetRealIP()
{
string ip;
try
{
HttpRequest request = HttpContext.Current.Request;
if (request.ServerVariables["HTTP_VIA"] != null)
{
ip = request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString().Split(',')[0].Trim();
}
else
{
ip = requ ......

C#Á¬½ÓOracle 10g

C#Á¬½ÓOracle 10g
ÎÄÕ³ö´¦£ºDIY²¿Âä(http://www.diybl.com/course/4_webprogram/asp.net/asp_netshl/200853/112441.html)
 
1¡¢¿ØÖÆÃæ°å->¹ÜÀí¹¤¾ß->Êý¾ÝÔ´(ODBC)->Ìí¼ÓÊý¾ÝÔ´->Ñ¡Ôñoracle ¿Í»§¶Ë
       Data Source Name ¿ÉÒÔÈÎÒâÆðÃû£¬ÍƼöºÍSIDÒ»Ñù
   ......

aspµ÷ÓÃsql server´æ´¢¹ý³Ì

ASPµ÷Óô洢¹ý³ÌµÄ·½·¨£º    
 
----  ¡¡¡¡µ÷Óô洢¹ý³ÌµÄ·½·¨ÐèҪʹÓÃADOµÄCommand¶ÔÏó¡£Command¶ÔÏóÊǶÔÒ»¸öÊý¾ÝÔ´ÔËÐÐÌض¨ÃüÁîµÄ¶¨Ò壨ÀýÈ磬һ¸öSQL²éѯ»òÒ»¸öSQL´æ´¢¹ý³Ì£©¡£ÏÂÃæÒÔMS  SQL  SERVER6.5Ϊºǫ́Êý¾Ý¿â£¬½éÉÜASPµ÷Óô洢¹ý³ÌµÄ·½·¨¡£    
 
----  ¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ