c#Á¬½ÓSqliteÊý¾Ý¿âÎÊÌâ
ÎÒÓÃsqliteadmin½¨ÁËÒ»¸öÊý¾Ý¿âtest.sdb,¿ÉÊÇÔõôҲ´ò²»¿ªÌáʾÈçÏ´íÎó£ºFile opened that is not a database file
file is encrypted or is not a database¡£
ÎÒµÄÁ¬½Ó×Ö·û´®ÈçÏÂÂ¥ÉϵĿɲ»¿ÉÒÔ°ïÎÒ¿´¿´
System.Data.SQLite.SQLiteConnection conn =new System.Data.SQLite.SQLiteConnection();
System.Data.SQLite.SQLiteConnectionStringBuilder connstr
= new System.Data.SQLite.SQLiteConnectionStringBuilder();
connstr.DataSource = datasource;
connstr.Password = "admin";//ÉèÖÃÃÜÂ룬SQLite ADO.NETʵÏÖÁËÊý¾Ý¿âÃÜÂë±£»¤
conn.ConnectionString = connstr.ToString();
conn.Open();
string datasource = @"e:\data\test.sdb";
ÓÐûÓÐÈË°¡£¬ÎÒÏÖÔÚ¿ÉÒÔÔÚ³ÌÐòÖн¨Ò»¸ö.sdbµÄÊý¾Ý¿âÒ²¿ÉÒÔÏòÀï䶫Î÷¡£¿ÉÊÇÓÃSqlite AdministratorÈ´´ò²»¿ª³öÏÖÌáʾ£ºqAdmin£ºcannot perfrom this operation on a closed data test £¬ÓÐûÓиßÊÖÖªµÀÊÇʲôÎÊÌâÂð
Ïà¹ØÎÊ´ð£º
Óиöwinform³ÌÐò,ʹÓÃc#+mysql,ÐèÒªÔÚÒ»¸ö´°ÌåÉèÖÃmysql×Ô¶¯É¾³ý¹¦ÄÜ,°üÀ¨×Ô¶¯É¾³ý¶àÉÙÌì֮ǰµÄÊý¾ÝÒÔ¼°ÊÇ·ñ¿ªÆô×Ô¶¯É¾³ý¹¦ÄÜ,ÎÒ³ÌÐòÍ˳öºó,»¹Ôõô¿ØÖÆMysql×Ô¼ºÉ¾³ý°¡?ÊDz»ÊÇÒªÓÃmysqlµÄeventÀ´ÊµÏÖ?c#¿ÉÒÔµ÷ÓÃmysq ......
ÈçÌâ
Ö»ÓÐ100·Ö¸øÁË¡£¡£¡£
ÄĸöÐÐÒµ£¿
ÎÒÏëÍøÉϵÄÔ´Âë¿Ï¶¨²»ÄÜÍêÈ«Âú×ã¸öÈËÏë·¨
×îºó»¹µÃ×Ô¼ºÕû
ÍƼöÒ»¿î×ÔÖú½¨Õ¾Èí¼þ£º·çѶ
C#+SQL
¿ÉÒÔÉè¼Æ³ö±È½ÏÁé»îµÄÍøÕ¾
ʲôÐÐÒµ°¡....
µ½51aspx.co ......
×î½üÔÚ×ö¸öÍøÉÏÉ̳ǣ¬¹ºÎﳵģ¿é£¬Ã»ÓÐ×ö¹ý£¬Âé·³¸÷λ°ïæ˵Ï´óÖÂ˵ÏÂ˼·£¬ÄÜ·¢Ò»·ÝÔ´Âë¸üºÃ¡£Ð¡µÜÏÈл¹ý¸÷λÁË£»
QQ£º413763818£»
eamil:swebook@126.com
ÍøÉÏÒ»´ó¶Ñ£¡
www.51aspx.com
ȥϠ......
VC++¾ÍÊÇVCµÄ¸ÄÉư棿
ÄÇVC++ºÍC++ÓÐʲô¹Øϵ£¬²»Ò»ÑùÄØ£¿
C#תѧC++£¬Òª×¼±¸×ÅÄÄ·½ÃæµÄ֪ʶ£¿
Ò»»áÏë¸ã java Ò»»áÏë¸ãc# Ò»»áÏë¸ãc++ , ÕâÑùÓÐÓÀÔ¶²»»á³ÉΪ¸ßÊÖµÄ
Â¥ÉÏ˵µÄ¶Ô£¬C++ÊǺÜÍ´¿àµÄ£¬ÎÒÕýÔÚ³ÐÊÜÕâÖ ......
ÔÚC#ÖÐÔõô°ÑÒ»¸öExcel±£´æ³ÉΪһ¸öHtmlÎļþ?
ÈçͬÔÚExcelÖÐ Îļþ——±£´æΪ——¸ñʽѡΪhtml Éú³ÉµÄÎļþ ¼°Îļþ¼Ð£¨ÔÚ¶àÕÅsheet ʱ£©
ÒýÓÃ
excelapp.Workbooks[1].PublishObjects ......