#include "stdafx.h" #include #include //-------------------------------------------------------- typedef struct jos { int order; int mima;//每个人的密码 struct jos *link; }Node;
1,直接把这三个dll,放在项目bin下, 2,添加引用【using Sybase.Data.AseClient;】, 3,AseConnection con = new AseConnection("连接字符串"), 连接字符串的形式“DataSource='127.0.0.1';Port='5000';UID='sa';PWD='mima';Database='数据库名';” 4,后面的就不用说了吧