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

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 £¬ÓÐûÓиßÊÖÖªµÀÊÇʲôÎÊÌâÂð


Ïà¹ØÎÊ´ð£º

ÇóÒ»ÐÐÒµÍøÔ´Âë(C#+sqlserver)

ÈçÌâ
Ö»ÓÐ100·Ö¸øÁË¡£¡£¡£
ÄĸöÐÐÒµ£¿
ÎÒÏëÍøÉϵÄÔ´Âë¿Ï¶¨²»ÄÜÍêÈ«Âú×ã¸öÈËÏë·¨
×îºó»¹µÃ×Ô¼ºÕû
ÍƼöÒ»¿î×ÔÖú½¨Õ¾Èí¼þ£º·çѶ
C#+SQL
¿ÉÒÔÉè¼Æ³ö±È½ÏÁé»îµÄÍøÕ¾

ʲôÐÐÒµ°¡....

µ½51aspx.co ......

C# DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí

DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
      <B>
        <C>
        </C>
  &nb ......

c# 2005²Ù×÷Access,Êý¾ÝÖ´ÐÐΪʲô²»ÄÜÁ¢¼´Íê³É£¿

ÎÒÖ´ÐÐÒ»¸öinsertºóÂíÉÏÖ´ÐÐÒ»¸öselect£¬·¢¾õÊý¾Ý»¹Ã»¼Ó½øÈ¥£¬Èç¹ûµÈ1£¬2ÃëÔÙselectµÄ»°Êý¾Ý¾ÍÓÐÁË¡£

ÄÇÎÒÓ¦¸ÃʲôʱºòÔÙselectÄØ£¿²»¿ÉÄÜÿ´Î¶¼¼Ó¸ö¶¨Ê±Æ÷À´¸ã°É£¬¶àÂé·³£¿
commit

?????????????

°ÑÄ ......

C#ÌîÍøÒ³±íµ¥µÄÎÊÌâ - .NET¼¼Êõ / C#

ÎÒÕâÀïÓÐÒ»¸öµÇ½WIFIÍøÂçµÄÒ³Ãæ¡£ÓÉÓÚWIFI¾­³£¶ÏÏߣ¬ËùÒÔÒª·´¸´µØÔÚÕâ¸öÍøÒ³Éϵǽ£¬Ã»·¨ÎÞÈËÖµÊØ¡£
ËùÒÔ£¬ÎÒÏë×öÒ»¸öC#³ÌÐò£¬·ÅÒ»¸öwebbrowser¿Ø¼þ£¬×Ô¶¯Ìî±í²¢×Ô¶¯µã»÷Ìá½»°´Å¥¡£
ÎÊÌâÒ»£º
»ù±¾ÕÕÍøÉÏÕҵijÌÐò ......

C#ʵÏÖÅúÁ¿Ìí¼ÓQQºÃÓÑ

ÈçÌ⣬ÓÃC#ʵÏÖ£¬ÑéÖ¤ÂëÊÖ¹¤ÊäÈë!ÎÒ»¹ÓÐ30·Ö£¬¶¼¸ø´ó¼ÒÁË?
¹Ø×¢

¼ÌÐøÎÊ?


´ó¼Ò¸øÒâ¼û°É!

ºÜÄÑʵÏÖ¡£


ѧϰ

ºÜÄÑʵÏÖµÄ,ÖÁÉÙÒª¹ýÁËÌÚѶÄÇÒ»¹Ø²Å¿ÉÒÔ....



ÄÜÈƹýÑéÖ¤ÄÇÒ»µÀ²ÅÐУ¡£¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ