/vnd.symbian.install. Sisx Ibid. apk,mime to Application/vnd.android.package-archiveIn addition, you can also set up: The download type WAP server--------------------------------. MMF AUDIO/MMF. MFM AUDIO/MFM. PMD AUDIO/PMD. ADP AUDIO/ADP. AMR Audio/amr. PMDAUDIO/PMD.3gp VIDEO/3GPP. cab Application/vnd.smartpohone. gif image/gif. Hme Application/vnd.smartphone.thm. jad Text/vnd.sun.j2me.app-descriptor. Jar
Development Environment:Vs 2008 + easyphp5.3.0 + win7Problem description: The Chinese characters inserted in MySQL are displayed as question marks, and reading is also displayed as question marks.C # The component used to access the database is MySQL. Data. dll (5.0.8.1)
The code for creating a test table is as follows (Make sure to change the database to utf8_general_ci during database creation.):Create Table TT (
Id smallint (6) Not null default '1 ',
Name varchar (64) not null,
Descr varchar
code here to initialize the pageIf (! Page. ispostback){Getlog ();}}Private void getlog (){String strsql;// Count the total number of records
Sqlconnection
Conn
= New sqlconnection ();Conn. connectionstring = @ "Server = MIS \ pmserver; uid = sa; Pwd = sa; database = test ";Conn. open ();Strsql = "select count (ID) from t_o_log ";Dataset DS = new dataset ();Sqldataadapter ADP = new sqldataadapter
; private void picturebox#mousedown (Object sender, mouseeventargs e) {x = E. x; y = E. y;} private void picturebox#mousemove (Object sender, mouseeventargs e) {If (E. button = system. windows. forms. mousebuttons. left) {This. left = This. left + (E. x-x); this. top = This. top + (E. y-y) ;}// change to the password box when the Password box gets the focus, clear, and change the font color private void textpwd_enter (Object sender, eventargs e) {textpwd. TEXT = ""; textpwd. forecolor = color. b
DS as New DataSet ()
Dim CN as New SqlConnection ()
Try
' Initialize connection string
CN. ConnectionString =
"Data source=pmserver;initial catalog=benchmark;persist security Info=false;user Id=sa; Password=sa; "
CN. Open ()
Dim ADP as SqlDataAdapter = New SqlDataAdapter ("select * from Tbtree", CN)
Adp. Fill (DS)
Me.viewstate ("ds") = ds
Catch ex as Exception
#If DEBUG Then
Session ("Error") = ex. ToStrin
The first three component design principles focus on the cohesion of components. Starting from this article, the three principles to be introduced will focus more on the coupling between components, which is more difficult than the first three principles, I will explain it with some examples. The main reference is still Robert C. martin's"Principles of package and Component Design" in Agile Software Development: Principles, patterns, and practices. When explaining the component design principles
Many Access and SQLServer developers often face the problem of upgrading an Access database to an SQLServer database. Because of the existing Access Upgrade Wizard, this transformation process becomes quite simple, especially when you establish an ADP associated with SQLServer data. However, the wizard is not perfect, and the problem to be solved is still Access
Many Access and SQL Server developers often face the problem of upgrading an Access data
1.1 Abandonment Dependency Inversion principle
Abstract dependency principle (/ADP) plays an important role in application design and framework design. In the programming of an application, ADP can be viewed as a kind of exhortation or advice, whereas in the framework design, dependency on abstract types is regulation and discipline.
This section describes the important role of
wallet
E: \ temp \ wallet> dirThe volume in drive E is dataThe serial number of the volume is the DCEE-F1D9
E: \ temp \ wallet directory
.
..
3,589 cwallet. sso
3,512 ewallet. p12
2 files in 7,101 bytes
2 directories, 212,962,336,768 available bytes
E: \ temp \ wallet>
2. Create a network connection string for the client to connect to the server. Each connection string corresponds to a database user.Skate_192.168.1.9 =(DESCR
permission to 777 so that other users can use the wallet function. When I add a new database to the wallet, wallet will add the cwallet. sso and ewallet. change the permission of the p12 file to 600. This has led to my tragedy today.
The following is a simulation of wallet's configuration, management, maintenance, and symptom.
1. Create a wallet
2. Configure wallet to sqlnet. ora
3. view the wallet command for help
Wallet is good, because you can see
key file we generated. D: \ oracle \ product \ 10.2.0 \ admin \ ora10 \ ora_wallet \ ewallet. p12
5. Start and close Wallet
SQL> ALTER SYSTEM SET ENCRYPTION WALLET OPEN IDENTIFIED BY "wallet ";
Alter system set encryption wallet open identified by "wallet"
ORA-28354: wallet opened
SQL> ALTER SYSTEM SET ENCRYPTION WALLET CLOSE; -- CLOSE
System altered
SQL> ALTER SYSTEM SET ENCRYPTION WALLET OPEN IDENTIFIED BY "wallet"; -- OPEN
System altered
At this
: Version 11.2.0.1.0-Production
Copyright (c) 2004,200 9, Oracle and/or its subsidiaries. All rights reserved.
Enter the password:
Enter the password again:
D: \ app \ luoping \ product \ 11.2.0 \ client_1 \ BIN> cd ../
D: \ app \ luoping \ product \ 11.2.0 \ client_1> cd pstore
D: \ app \ luoping \ product \ 11.2.0 \ client_1 \ pstore> dir
The volume in drive D is DATA
The serial number of the volume is the D60C-09BD
D: \ app \ luoping \ product \ 11.2.0 \ client_1 \ pstore directory
.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.