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

Asp.netʹÓÃSqliteÊý¾Ý¿â

 1. ´Óhttp://sqlite.phxsoftware.com ÏÂÔØSystem.Data.SQLite.dll
 2. ´Óhttp://www.sqlite.org/download.html ÏÂÔØ sqlite3.dll
 3. Copy ÒÔÉÏ2¸öDllµ½Asp.netÍøÕ¾µÄbinĿ¼Ï£¬ÀàËÆ  E:\2009work\MyWeb\Bin
 4. ÓÃsqlitespy ¹¤¾ßн¨Êý¾Ý¿â£¬E:\2009work\MyWeb\App_Data\db.db3 £¬²¢ÇÒн¨±íCREATE TABLE User(name char(50), Pwd char(20));£¬²åÈ뼸Ìõ²âÊÔÊý¾Ý
5. ±àÂ룺
(1)Ìí¼ÓÒýÓãºE:\2009work\MyWeb\Bin\System.Data.SQLite.dll
(2)using System.Data.SQLite;
(3)
        private string _RootPath;
     /// <summary>
     /// ϵͳµÄ¸ùĿ¼
     /// </summary>
     public string RootPath
     {
         get
         {
             _RootPath = HttpContext.Current.Server.MapPath(HttpContext.Current.Request.ApplicationPath). ToLower();//µ±Ç°µÄ¾ø¶Ô·¾¶          
             if (_RootPath.Length == 1)
             {
                 _RootPath = "";
             }
             return _RootPath;
         }
     }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsCallback)
        {
                      


Ïà¹ØÎĵµ£º

asp.net Excelµ¼Èë&µ¼³ö


1¡¢ExcelÊý¾Ýµ¼Èëµ½Êý¾Ý¿âÖУº
//¸Ã·½·¨ÊµÏÖ´ÓExcelÖе¼³öÊý¾Ýµ½DataSetÖУ¬ÆäÖÐfilepathΪExcelÎļþµÄ¾ø¶Ô·¾¶£¬sheetnameΪ±íʾÄǸöExcel±í£»
        public DataSet ExcelDataSource( string filepath , string sheetname )
&nb ......

Êý×Ö·ÖÒ³µ¼º½Ìõ (asp.net C#)


using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using ......

ÈçºÎ¿ªÊ¼ASP.NET

    ÓÃASP.NETÓÐÒ»¶Îʱ¼äÁË£¬µ«×ܾõµÃ»¹ÊÇÒ»Ö±¸¡ÓÚ±íÃ棬¶Ô¿Ø¼þ¿ª·¢ÖªÖ®ÉõÉÙ£¬¹Ê½üÆÚ¿ªÊ¼¶ñ²¹Õâ·½ÃæµÄÄÚÈÝ¡£ÒªÅÜÌâÁË£¬»¹ÊÇÏȻعËÒ»ÏÂÓ¦¸ÃÈçºÎÉÏÊÖASP.NET£¬¸ø¸Õ¿ªÊ¼½Ó´¥ËüµÄͬ־һµãÖ¸Òý£º
    1¡¢ÅªÇå³þʲôÊÇ.NET£ºËµ°×ÁËËü¾ÍÊÇÒ»Ì׿ؼþ°ü£¬Ò»°ã±»Ëµ³É¿ò¼Ü£¬ÀàËÆÓÚMFC»òÕßDELPHIµÄVCLµÈµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ