一、安裝SQL數據庫 1、 打開Microsoft SQL Server 企業管理器 2、 建立一個新的數據庫,名稱為 XfokSite_Free (必須為這個名字) 3、選擇該數據庫,點擊鼠標右鍵 -> 所有任務 -> 還原數據庫 -> 從設備 -> 選擇設備 -> 添加 -> 選擇程序目錄下的數據庫里面的文件 二、安裝程序 1、如果程序沒有放在虛擬目錄下,請把所有文件放在網站根目錄下,否則會提示出錯。 三、設置 1、 用文本編輯器打開web.config 2、 找到<add key="SqlConnectionString" value="Data Source=(local) Integrated Security=false Initial Catalog=XfokSite_Free User ID=xfok Password=xfok" /> 紅色部分:數據庫服務器地址,如果為本地地址,請設置為(local),外部請直接修改為IP地址(不要加括號) 深紅部分:數據庫名稱 粉紅部分:SQL數據庫登陸用戶名 藍色部分:SQL數據庫登陸密碼 四、設置完畢! 直接在瀏覽器中敲入地址,來體驗一下心隨我動,網站建設超輕松的快感吧!
上傳時間: 2015-04-15
上傳用戶:璇珠官人
This example program shows how to configure and use the A/D Converter of the following microcontroller: STMicroelectronics ST10F166 After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port. To run this program... Build the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/Stop Debug Session) View the Serial Window (View Menu, Serial Window #1) View the A/D converter peripheral (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
標簽: microcontroll Converter configure following
上傳時間: 2014-12-01
上傳用戶:獨孤求源
The module LSQ is for unconstrained linear least-squares fitting. It is based upon Applied Statistics algorithm AS 274 (see comments at the start of the module). A planar-rotation algorithm is used to update the QR- factorization. This makes it suitable for updating regressions as more data become available. The module contains a test for singularities which is simpler and quicker than calculating the singular-value decomposition. An important feature of the algorithm is that it does not square the condition number. The matrix X X is not formed. Hence it is suitable for ill- conditioned problems, such as fitting polynomials. By taking advantage of the MODULE facility, it has been possible to remove many of the arguments to routines. Apart from the new function VARPRD, and a back-substitution routine BKSUB2 which it calls, the routines behave as in AS 274.
標簽: least-squares unconstrained Statisti Applied
上傳時間: 2015-05-14
上傳用戶:aig85
he LPC932 can be used to create a Pulse Width Modulated PWM signal. That s an analog signal, with only 2 discrete levels, for example 0V and 5V and a constant period. The current value of this signal at a certain poiTnt of time is proportional to its Duty Cycle. That s the High Time during one period divided by the period. It can also be calculated as the average value during a particular period. That means after low pass filtering, (e.g. RC circuit) the signal becomes analog, with an actual value controlled by the microcontroller. The PWM functionality enables the LPC932 to control for example the speed of DC motors or the brightness of electric lighting.
標簽: signal Modulated analog create
上傳時間: 2015-05-14
上傳用戶:CHINA526
雜湊法(Hashing)的搜尋與一般的搜尋法(searching)是不一樣的。在雜湊法中,鍵值(key value)或識別字(identifier)在記憶體的位址是經由函數(function)轉換而得的。此種函數,一般稱之為雜湊函數(Hashing function)或鍵值對應位址轉換(key to address transformation)。對於有限的儲存空間,能夠有效使用且在加入或刪除時也能快的完成,利用雜湊法是最適當不過了。因為雜湊表搜尋在沒有碰撞(collision)及溢位(overflow)的情況下,只要一次就可擷取到。
上傳時間: 2013-12-23
上傳用戶:dancnc
數字運算,判斷一個數是否接近素數 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上傳時間: 2015-05-21
上傳用戶:daguda
bung.cpp bung.dfm bung.h DbgWarn.cpp DbgWarn.dfm DbgWarn.h Debug.cpp Debug.dfm Debug.h Emu.cpp Emu.dfm Emu.h gbc.bpg gbc.bpr gbc.cpp gbc.exe gbc.res gbcemu.bpr gbcemu.cpp gbcemu.dll gbcemu.h gbcemu.lib Gotodialog.cpp Gotodialog.dfm Gotodialog.h MapView.cpp MapView.dfm MapView.h Pal.cpp Pal.dfm Pal.h readme.txt reg.cpp reg.dfm reg.h rom.cpp rom.h Search.cpp Search.dfm Search.h Sound.cpp Sound.h TileView.cpp TileView.dfm TileView.h value.CPP value.DFM value.H
上傳時間: 2014-01-04
上傳用戶:agent
2^x mod n = 1 acm競賽題 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input One positive integer on each line, the value of n. Output If the minimum x exists, print a line with 2^x mod n = 1. Print 2^? mod n = 1 otherwise. You should replace x and n with specific numbers. Sample Input 2 5 Sample Output 2^? mod 2 = 1 2^4 mod 5 = 1
標簽: mod satisfies minimum number
上傳時間: 2015-06-02
上傳用戶:qlpqlq
This a simple genetic algorithm implementation where the evaluation function takes positive values only and the fitness of an individual is the same as the value of the objective function
標簽: implementation evaluation algorithm function
上傳時間: 2015-06-03
上傳用戶:2467478207
c8051f020 實時時鐘模塊程序 內含IIC模塊程序/********************** SYSTEM CLOCK 8M********************************/ extern unsigned char xdata currenttime[16]={0} extern unsigned char xdata settime[16]={ 0x00, // control regesiter 1 0x00, // control regesiter 2 0x01, //current second 0x19, //current minute 0x20, //current hour 0x29, //current data 0x04, //current week 0x07, //current month 0x05, //current year 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // clk out disable 0x00, // close timer 0x00, } /*********************************************************************/ extern void Current_Time ( void ) extern void Set_Time ( void )
標簽: c8051f020 SYSTEM CLOCK IIC
上傳時間: 2015-06-30
上傳用戶:edisonfather