« InnoTek VirtualBox 虛擬 PC | 首頁 | 2007/02, Vol. 133 PChome Magazine »
2007年02月01日
Mono SQL# For GTK#
目的: 在 FC6 使用 Mono SQL# For GTK# 連入 Microsoft SQL Server 2000 並執行 SQL 指令
環境: Fedora Core 6 Linux - Default Installation (with GNOME Desktop Environment)
安裝 gtksharpgtk
yum install subversion mono-devel autoconf automake
svn co svn://svn.myrealbox.com/source/trunk/sqlsharpgtk
(Reference: Mono Project - Anonymous SVN access)或
wget http://svn.myrealbox.com/viewcvs/trunk/sqlsharpgtk.tar.gz?view=tar -O sqlsharpgtk.tar.gz
tar zxf sqlsharpgtk.tar.gz
cd sqlsharpgtk
chmod +x autogen.sh
./autogen.sh
make
make install
確認 SQL Server 2000 預設語言設定為 English
目前 Mono SQL# For GTK# 尚不支援預設語言 Traditional Chinese (Codepage 950)
執行 gtksharpgtk
/usr/local/bin/sqlsharpgtk.sh
於 Login 視窗中依序進行以下設置:
- Provider: System.Data.SqlClient
- Server: MS SQL Server IP,Port (如不輸入埠號則預設為 1433)
- Database
- User ID
- Password
執行畫面:
相關網頁
Posted by Jamyy at 2007年02月01日 12:32
Trackback Pings
TrackBack URL for this entry:
http://cha.homeip.net/cgi-bin/mt/mt-tb.cgi/257
Comments
請問你有沒有連到sql server 2005試過?
Posted by: jtime at 2007年02月05日 23:31
沒耶, 因為我手邊沒有那個版本 :P
Posted by: Jamyy at 2007年02月06日 08:49
Have you tried a secured connection to mssql using SQL#? Do they support this within Mono?
Posted by: KT at 2007年03月27日 17:50


